public interface Session
extends java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static int |
AUTO_ACKNOWLEDGE |
static int |
CLIENT_ACKNOWLEDGE |
static int |
DUPS_OK_ACKNOWLEDGE |
static int |
SESSION_TRANSACTED |
static final int AUTO_ACKNOWLEDGE
static final int CLIENT_ACKNOWLEDGE
static final int DUPS_OK_ACKNOWLEDGE
static final int SESSION_TRANSACTED
BytesMessage createBytesMessage() throws JMSException
JMSException
MapMessage createMapMessage() throws JMSException
JMSException
Message createMessage() throws JMSException
JMSException
ObjectMessage createObjectMessage() throws JMSException
JMSException
ObjectMessage createObjectMessage(java.io.Serializable object) throws JMSException
JMSException
StreamMessage createStreamMessage() throws JMSException
JMSException
TextMessage createTextMessage() throws JMSException
JMSException
TextMessage createTextMessage(java.lang.String text) throws JMSException
JMSException
boolean getTransacted() throws JMSException
JMSException
int getAcknowledgeMode() throws JMSException
JMSException
void commit() throws JMSException
JMSException
void rollback() throws JMSException
JMSException
void close() throws JMSException
JMSException
void recover() throws JMSException
JMSException
MessageListener getMessageListener() throws JMSException
JMSException
void setMessageListener(MessageListener listener) throws JMSException
JMSException
void run()
run
in interface java.lang.Runnable
MessageProducer createProducer(Destination destination) throws JMSException
JMSException
MessageConsumer createConsumer(Destination destination) throws JMSException
JMSException
MessageConsumer createConsumer(Destination destination, java.lang.String selector) throws JMSException
JMSException
MessageConsumer createConsumer(Destination destination, java.lang.String selector, boolean noLocal) throws JMSException
JMSException
Queue createQueue(java.lang.String queueName) throws JMSException
JMSException
Topic createTopic(java.lang.String queueName) throws JMSException
JMSException
TopicSubscriber createDurableSubscriber(Topic topic, java.lang.String queue) throws JMSException
JMSException
TopicSubscriber createDurableSubscriber(Topic topic, java.lang.String queue, java.lang.String messageSelector, boolean noLocal) throws JMSException
JMSException
QueueBrowser createBrowser(Queue queue) throws JMSException
JMSException
QueueBrowser createBrowser(Queue queue, java.lang.String messageSelector) throws JMSException
JMSException
TemporaryQueue createTemporaryQueue() throws JMSException
JMSException
TemporaryTopic createTemporaryTopic() throws JMSException
JMSException
void unsubscribe(java.lang.String name) throws JMSException
JMSException