@Deprecated public abstract class SessionDecorator extends Object implements Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED| Constructor and Description |
|---|
SessionDecorator(Session session)
Deprecated.
|
public SessionDecorator(Session session)
public BytesMessage createBytesMessage() throws JMSException
createBytesMessage in interface SessionJMSExceptionpublic 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 object) throws JMSException
createObjectMessage in interface SessionJMSExceptionpublic StreamMessage createStreamMessage() throws JMSException
createStreamMessage in interface SessionJMSExceptionpublic TextMessage createTextMessage() throws JMSException
createTextMessage in interface SessionJMSExceptionpublic TextMessage createTextMessage(String text) throws JMSException
createTextMessage in interface SessionJMSExceptionpublic boolean getTransacted()
throws JMSException
getTransacted in interface SessionJMSExceptionpublic int getAcknowledgeMode()
throws JMSException
getAcknowledgeMode in interface SessionJMSExceptionpublic void commit()
throws JMSException
commit in interface SessionJMSExceptionpublic void rollback()
throws JMSException
rollback in interface SessionJMSExceptionpublic void close()
throws JMSException
close in interface SessionJMSExceptionpublic void recover()
throws JMSException
recover in interface SessionJMSExceptionpublic MessageListener getMessageListener() throws JMSException
getMessageListener in interface SessionJMSExceptionpublic void setMessageListener(MessageListener messageListener) throws JMSException
setMessageListener in interface SessionJMSExceptionpublic void run()
public MessageProducer createProducer(Destination destination) throws JMSException
createProducer in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination) throws JMSException
createConsumer in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination, String messageSelector) throws JMSException
createConsumer in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination, String messageSelector, boolean nolocal) throws JMSException
createConsumer in interface SessionJMSExceptionpublic Queue createQueue(String queueName) throws JMSException
createQueue in interface SessionJMSExceptionpublic Topic createTopic(String topicName) throws JMSException
createTopic in interface SessionJMSExceptionpublic TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException
createDurableSubscriber in interface SessionJMSExceptionpublic TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean nolocal) throws JMSException
createDurableSubscriber in interface SessionJMSExceptionpublic QueueBrowser createBrowser(Queue queue) throws JMSException
createBrowser in interface SessionJMSExceptionpublic QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException
createBrowser in interface SessionJMSExceptionpublic TemporaryQueue createTemporaryQueue() throws JMSException
createTemporaryQueue in interface SessionJMSExceptionpublic TemporaryTopic createTemporaryTopic() throws JMSException
createTemporaryTopic in interface SessionJMSExceptionpublic void unsubscribe(String name) throws JMSException
unsubscribe in interface SessionJMSExceptionpublic Session getInternal()
Copyright © 2015 Calrissian. All rights reserved.