public class InboundConnectionProxy extends Object implements Connection, QueueConnection, TopicConnection
Connection implementation which can be used with the ActiveMQ JCA
Resource Adapter to publish messages using the same JMS session that is used to dispatch
messages.| Constructor and Description |
|---|
InboundConnectionProxy() |
public InboundConnectionProxy()
public Session createSession(boolean transacted, int ackMode) throws JMSException
createSession in interface ConnectionJMSExceptionpublic QueueSession createQueueSession(boolean transacted, int ackMode) throws JMSException
createQueueSession in interface QueueConnectionJMSExceptionpublic TopicSession createTopicSession(boolean transacted, int ackMode) throws JMSException
createTopicSession in interface TopicConnectionJMSExceptionpublic void start() throws JMSException
start in interface ConnectionJMSExceptionpublic void stop() throws JMSException
stop in interface ConnectionJMSExceptionpublic void close() throws JMSException
close in interface ConnectionJMSExceptionpublic ConnectionMetaData getMetaData() throws JMSException
getMetaData in interface ConnectionJMSExceptionpublic String getClientID() throws JMSException
getClientID in interface ConnectionJMSExceptionpublic void setClientID(String s) throws JMSException
setClientID in interface ConnectionJMSExceptionpublic ExceptionListener getExceptionListener() throws JMSException
getExceptionListener in interface ConnectionJMSExceptionpublic void setExceptionListener(ExceptionListener exceptionListener) throws JMSException
setExceptionListener in interface ConnectionJMSExceptionpublic ConnectionConsumer createConnectionConsumer(Destination destination, String s, ServerSessionPool serverSessionPool, int i) throws JMSException
createConnectionConsumer in interface ConnectionJMSExceptionpublic ConnectionConsumer createDurableConnectionConsumer(Topic topic, String s, String s1, ServerSessionPool serverSessionPool, int i) throws JMSException
createDurableConnectionConsumer in interface ConnectioncreateDurableConnectionConsumer in interface TopicConnectionJMSExceptionpublic ConnectionConsumer createConnectionConsumer(Queue queue, String s, ServerSessionPool serverSessionPool, int i) throws JMSException
createConnectionConsumer in interface QueueConnectionJMSExceptionpublic ConnectionConsumer createConnectionConsumer(Topic topic, String s, ServerSessionPool serverSessionPool, int i) throws JMSException
createConnectionConsumer in interface TopicConnectionJMSExceptionprotected JMSException createNotSupported(String text)
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.