Method Summary |
|
void | addConsumer(MessageConsumer consumer) |
void | addProducer(MessageProducer producer) |
void | checkStrict() |
public void | close() Closes the session. |
void | closeSession() |
public void | commit() |
public QueueBrowser | createBrowser(Queue queue) |
public QueueBrowser | createBrowser(Queue queue, String messageSelector) |
public BytesMessage | createBytesMessage() |
public MessageConsumer | createConsumer(Destination destination) |
public MessageConsumer | createConsumer(Destination destination, String messageSelector) |
public MessageConsumer | createConsumer(Destination destination, String messageSelector, boolean noLocal) |
public TopicSubscriber | createDurableSubscriber(Topic topic, String name) |
public TopicSubscriber | createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) |
public MapMessage | createMapMessage() |
public Message | createMessage() |
public ObjectMessage | createObjectMessage() |
public ObjectMessage | createObjectMessage(Serializable object) |
public MessageProducer | createProducer(Destination destination) |
public TopicPublisher | createPublisher(Topic topic) |
public Queue | createQueue(String queueName) |
public QueueReceiver | createReceiver(Queue queue) |
public QueueReceiver | createReceiver(Queue queue, String messageSelector) |
public QueueSender | createSender(Queue queue) |
public StreamMessage | createStreamMessage() |
public TopicSubscriber | createSubscriber(Topic topic) |
public TopicSubscriber | createSubscriber(Topic topic, String messageSelector, boolean noLocal) |
public TemporaryQueue | createTemporaryQueue() |
public TemporaryTopic | createTemporaryTopic() |
public TextMessage | createTextMessage() |
public TextMessage | createTextMessage(String string) |
public Topic | createTopic(String topicName) |
void | destroy() |
public int | getAcknowledgeMode() |
public MessageListener | getMessageListener() Always throws an Exception. |
QueueSession | getQueueSession() |
Session | getSession() Ensure that the session is opened. |
TopicSession | getTopicSession() |
public boolean | getTransacted() |
public void | recover() |
void | removeConsumer(MessageConsumer consumer) |
void | removeProducer(MessageProducer producer) |
public void | rollback() |
public void | run() Always throws an Error. |
public void | setJmsSessionFactory(JmsSessionFactory sf) |
void | setManagedConnection(JmsManagedConnection mc) |
public void | setMessageListener(MessageListener listener) Always throws an Exception. |
void | start() |
void | stop() |
public void | unsubscribe(String name) |