/*
 * JBoss, the OpenSource J2EE webOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package org.jboss.jms.server;

import org.jboss.jms.message.JBossMessage;

/**
 * A factory for delivery endpoints
 * 
 * @author <a href="mailto:adrian@jboss.org>Adrian Brock</a>
 * @version $Revision: 1.1 $
 */
public interface DeliveryEndpointFactory
{
   // Constants -----------------------------------------------------

   // Public --------------------------------------------------------

   DeliveryEndpoint getDeliveryEndpoint(MessageReference message);

   MessageReference getMessageReference(JBossMessage message);
}
