Subscribe to a queue. We register all subscriptions in the channel so that if the channel is closed we can clean up all subscriptions, even if the client does not explicitly unsubscribe from all queues.
@param tag the tag chosen by the client (if null, server will generate one)
@param source the queue to subscribe to
@param acks Are acks enabled for this subscriber
@param filters Filters to apply to this subscriber
@param exclusive Flag requesting exclusive access to the queue
@return the consumer tag. This is returned to the subscriber and used in subsequent unsubscribe requests
@throws org.apache.qpid.AMQException if something goes wrong
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.