Package org.activemq.ra

Examples of org.activemq.ra.SessionAndProducer


            throw new JMSException("The underlying JMS Session does not support TopicSession semantics: " + session);
        }
    }

    public SessionAndProducer getSessionAndProducer() throws JMSException {
        SessionAndProducer answer = SessionAndProducerHelper.getActiveSessionAndProducer();
        if (answer == null) {
            throw new JMSException("No currently active Session. This JMS provider cannot be used outside a MessageListener.onMessage() invocation");
        }
        return answer;
    }
View Full Code Here

TOP

Related Classes of org.activemq.ra.SessionAndProducer

Copyright © 2018 www.massapicom. All rights reserved.
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.