Class ActiveMQQueueSession

  • All Implemented Interfaces:
    Runnable, QueueSession, Session

    public class ActiveMQQueueSession
    extends Object
    implements QueueSession
    A QueueSession implementation that throws IllegalStateExceptions when Topic operations are attempted but which delegates to another QueueSession for all other operations. The ActiveMQSessions implement both Topic and Queue Sessions methods but the specification states that Queue session should throw Exceptions if topic operations are attempted on it.