|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JmsProducer
A simple abstraction layer for applications wishing to send JMS messages
| Method Summary | |
|---|---|
void |
close()
|
Connection |
getConnection()
|
MessageProducer |
getMessageProducer()
|
Session |
getSession()
|
void |
send(Destination destination,
Message message)
Sends a message to the given destination in a way that can be implemented in JMS 1.0.2b as well as using the JMS 1.1 send() method on MessageProducer |
void |
send(Destination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive)
Sends a message to the given destination in a way that can be implemented in JMS 1.0.2b as well as using the JMS 1.1 send() method on MessageProducer |
| Method Detail |
|---|
Connection getConnection()
Session getSession()
MessageProducer getMessageProducer()
void close()
throws JMSException
JMSException
void send(Destination destination,
Message message)
throws JMSException
MessageProducer
JMSException - if the message could not be sent
void send(Destination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive)
throws JMSException
MessageProducer
JMSException - if the message could not be sent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||