Class ActiveMQTopicSession

  • All Implemented Interfaces:
    AutoCloseable, Runnable, Session, TopicSession

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