public interface Session extends 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(Serializable object) throws JMSException
JMSException
StreamMessage createStreamMessage() throws JMSException
JMSException
TextMessage createTextMessage() throws JMSException
JMSException
TextMessage createTextMessage(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
MessageProducer createProducer(Destination destination) throws JMSException
JMSException
MessageConsumer createConsumer(Destination destination) throws JMSException
JMSException
MessageConsumer createConsumer(Destination destination, String messageSelector) throws JMSException
JMSException
MessageConsumer createConsumer(Destination destination, String messageSelector, boolean NoLocal) throws JMSException
JMSException
Queue createQueue(String queueName) throws JMSException
JMSException
Topic createTopic(String topicName) throws JMSException
JMSException
TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException
JMSException
TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) throws JMSException
JMSException
QueueBrowser createBrowser(Queue queue) throws JMSException
JMSException
QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException
JMSException
TemporaryQueue createTemporaryQueue() throws JMSException
JMSException
TemporaryTopic createTemporaryTopic() throws JMSException
JMSException
void unsubscribe(String name) throws JMSException
JMSException
Copyright © 2013. All Rights Reserved.