|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JMSDestination
A facade for a JMS Queue or Topic.
Method Summary | |
---|---|
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()
|
java.lang.String |
getName()
|
boolean |
isConnected()
|
javax.jms.Message |
receive()
|
void |
send(javax.jms.Message theMessage)
Sends the given message to the JMS destination. |
Method Detail |
---|
java.lang.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 send
javax.jms.JMSException
javax.jms.Message receive() throws javax.jms.JMSException
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |