public interface JMSDestination
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Creates a new session, sender/publisher, and receiver/subscriber.
|
javax.jms.TextMessage |
createMessage() |
void |
disconnect()
Closes the JMS session.
|
javax.jms.Connection |
getConnection() |
String |
getName() |
boolean |
isConnected() |
javax.jms.Message |
receive() |
void |
send(javax.jms.Message theMessage)
Sends the given message to the JMS destination.
|
String getName() throws javax.jms.JMSException
javax.jms.JMSExceptionjavax.jms.TextMessage createMessage() throws javax.jms.JMSException
javax.jms.JMSExceptionvoid connect() throws javax.jms.JMSException
javax.jms.JMSExceptionvoid disconnect() throws javax.jms.JMSException
javax.jms.JMSExceptionboolean isConnected()
javax.jms.Connection getConnection()
void send(javax.jms.Message theMessage) throws javax.jms.JMSException
theMessage - message to sendjavax.jms.JMSExceptionjavax.jms.Message receive() throws javax.jms.JMSException
javax.jms.JMSExceptionCopyright © 2001–2017 University Health Network. All rights reserved.