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.JMSException
javax.jms.TextMessage createMessage() throws javax.jms.JMSException
javax.jms.JMSException
void connect() throws javax.jms.JMSException
javax.jms.JMSException
void disconnect() throws javax.jms.JMSException
javax.jms.JMSException
boolean isConnected()
javax.jms.Connection getConnection()
void send(javax.jms.Message theMessage) throws javax.jms.JMSException
theMessage
- message to sendjavax.jms.JMSException
javax.jms.Message receive() throws javax.jms.JMSException
javax.jms.JMSException
Copyright © 2001–2017 University Health Network. All rights reserved.