|
||||||||||
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()
|
javax.jms.Connection |
getConnection()
|
javax.jms.MessageProducer |
getMessageProducer()
|
javax.jms.Session |
getSession()
|
void |
send(javax.jms.Destination destination,
javax.jms.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(javax.jms.Destination destination,
javax.jms.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 |
---|
javax.jms.Connection getConnection()
javax.jms.Session getSession()
javax.jms.MessageProducer getMessageProducer()
void close() throws javax.jms.JMSException
javax.jms.JMSException
void send(javax.jms.Destination destination, javax.jms.Message message) throws javax.jms.JMSException
MessageProducer
javax.jms.JMSException
- if the message could not be sentvoid send(javax.jms.Destination destination, javax.jms.Message message, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
MessageProducer
javax.jms.JMSException
- if the message could not be sent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |