org.apache.qpid.server.subscription
Interface SubscriptionFactory

All Known Implementing Classes:
SubscriptionFactoryImpl

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

Method Summary
 Subscription createSubscription(AMQChannel channel, AMQProtocolSession protocolSession, org.apache.qpid.framing.AMQShortString consumerTag, boolean acks, org.apache.qpid.framing.FieldTable filters, boolean noLocal, FlowCreditManager creditManager, ClientDeliveryMethod clientMethod, RecordDeliveryMethod recordMethod)
           
 Subscription createSubscription(int channel, AMQProtocolSession protocolSession, org.apache.qpid.framing.AMQShortString consumerTag, boolean acks, org.apache.qpid.framing.FieldTable filters, boolean noLocal, FlowCreditManager creditManager)
           
 

Method Detail

createSubscription

Subscription createSubscription(int channel,
                                AMQProtocolSession protocolSession,
                                org.apache.qpid.framing.AMQShortString consumerTag,
                                boolean acks,
                                org.apache.qpid.framing.FieldTable filters,
                                boolean noLocal,
                                FlowCreditManager creditManager)
                                throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException

createSubscription

Subscription createSubscription(AMQChannel channel,
                                AMQProtocolSession protocolSession,
                                org.apache.qpid.framing.AMQShortString consumerTag,
                                boolean acks,
                                org.apache.qpid.framing.FieldTable filters,
                                boolean noLocal,
                                FlowCreditManager creditManager,
                                ClientDeliveryMethod clientMethod,
                                RecordDeliveryMethod recordMethod)
                                throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException


Licensed to the Apache Software Foundation