org.apache.qpid.server.queue
Interface SubscriptionFactory
- All Known Implementing Classes:
- SubscriptionImpl.Factory
public interface SubscriptionFactory
Allows the customisation of the creation of a subscription. This is typically done within an AMQQueue. This
factory primarily assists testing although in future more sophisticated subscribers may need a different
subscription implementation.
- See Also:
AMQQueue
createSubscription
Subscription createSubscription(int channel,
AMQProtocolSession protocolSession,
java.lang.String consumerTag,
boolean acks)
throws org.apache.qpid.AMQException
- Throws:
org.apache.qpid.AMQException
createSubscription
Subscription createSubscription(int channel,
AMQProtocolSession protocolSession,
java.lang.String consumerTag)
throws org.apache.qpid.AMQException
- Throws:
org.apache.qpid.AMQException