public class InboundSessionProxy extends Object implements Session, QueueSession, TopicSession
Session 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.AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED| Constructor and Description |
|---|
InboundSessionProxy() |
public InboundSessionProxy()
public Session getSession() throws JMSException
JMSExceptionpublic QueueSession getQueueSession() throws JMSException
JMSExceptionpublic TopicSession getTopicSession() throws JMSException
JMSExceptionpublic InboundContext getSessionAndProducer() throws JMSException
JMSExceptionpublic MessageProducer createProducer(Destination destination) throws JMSException
createProducer in interface SessionJMSExceptionpublic void close() throws JMSException
close in interface SessionJMSExceptionpublic void commit() throws JMSException
commit in interface SessionJMSExceptionpublic void rollback() throws JMSException
rollback in interface SessionJMSExceptionpublic void recover() throws JMSException
recover in interface SessionJMSExceptionpublic void run()
public QueueBrowser createBrowser(Queue queue) throws JMSException
createBrowser in interface QueueSessioncreateBrowser in interface SessionJMSExceptionpublic QueueBrowser createBrowser(Queue queue, String s) throws JMSException
createBrowser in interface QueueSessioncreateBrowser in interface SessionJMSExceptionpublic BytesMessage createBytesMessage() throws JMSException
createBytesMessage in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination) throws JMSException
createConsumer in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination, String s) throws JMSException
createConsumer in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination, String s, boolean b) throws JMSException
createConsumer in interface SessionJMSExceptionpublic TopicSubscriber createDurableSubscriber(Topic topic, String s) throws JMSException
createDurableSubscriber in interface SessioncreateDurableSubscriber in interface TopicSessionJMSExceptionpublic TopicSubscriber createDurableSubscriber(Topic topic, String s, String s1, boolean b) throws JMSException
createDurableSubscriber in interface SessioncreateDurableSubscriber in interface TopicSessionJMSExceptionpublic MapMessage createMapMessage() throws JMSException
createMapMessage in interface SessionJMSExceptionpublic Message createMessage() throws JMSException
createMessage in interface SessionJMSExceptionpublic ObjectMessage createObjectMessage() throws JMSException
createObjectMessage in interface SessionJMSExceptionpublic ObjectMessage createObjectMessage(Serializable serializable) throws JMSException
createObjectMessage in interface SessionJMSExceptionpublic Queue createQueue(String s) throws JMSException
createQueue in interface QueueSessioncreateQueue in interface SessionJMSExceptionpublic StreamMessage createStreamMessage() throws JMSException
createStreamMessage in interface SessionJMSExceptionpublic TemporaryQueue createTemporaryQueue() throws JMSException
createTemporaryQueue in interface QueueSessioncreateTemporaryQueue in interface SessionJMSExceptionpublic TemporaryTopic createTemporaryTopic() throws JMSException
createTemporaryTopic in interface SessioncreateTemporaryTopic in interface TopicSessionJMSExceptionpublic TextMessage createTextMessage() throws JMSException
createTextMessage in interface SessionJMSExceptionpublic TextMessage createTextMessage(String s) throws JMSException
createTextMessage in interface SessionJMSExceptionpublic Topic createTopic(String s) throws JMSException
createTopic in interface SessioncreateTopic in interface TopicSessionJMSExceptionpublic int getAcknowledgeMode() throws JMSException
getAcknowledgeMode in interface SessionJMSExceptionpublic MessageListener getMessageListener() throws JMSException
getMessageListener in interface SessionJMSExceptionpublic boolean getTransacted() throws JMSException
getTransacted in interface SessionJMSExceptionpublic void setMessageListener(MessageListener messageListener) throws JMSException
setMessageListener in interface SessionJMSExceptionpublic void unsubscribe(String s) throws JMSException
unsubscribe in interface Sessionunsubscribe in interface TopicSessionJMSExceptionpublic QueueReceiver createReceiver(Queue queue) throws JMSException
createReceiver in interface QueueSessionJMSExceptionpublic QueueReceiver createReceiver(Queue queue, String s) throws JMSException
createReceiver in interface QueueSessionJMSExceptionpublic QueueSender createSender(Queue queue) throws JMSException
createSender in interface QueueSessionJMSExceptionpublic TopicSubscriber createSubscriber(Topic topic) throws JMSException
createSubscriber in interface TopicSessionJMSExceptionpublic TopicSubscriber createSubscriber(Topic topic, String s, boolean b) throws JMSException
createSubscriber in interface TopicSessionJMSExceptionpublic TopicPublisher createPublisher(Topic topic) throws JMSException
createPublisher in interface TopicSessionJMSExceptionCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.