Inheritance diagram for com.scalagent.kjoram.QueueSender:


Public Member Functions | |
| String | toString () |
| Queue | getQueue () throws JMSException |
| void | send (Queue queue, Message message) throws JMSException |
| void | send (Queue queue, Message message, int deliveryMode, int priority, long timeToLive) throws JMSException |
Package Functions | |
| QueueSender (QueueSession sess, Queue queue) throws JMSException | |
Definition at line 30 of file QueueSender.java.
| com.scalagent.kjoram.QueueSender.QueueSender | ( | QueueSession | sess, | |
| Queue | queue | |||
| ) | throws JMSException [package] |
Constructs a sender.
| sess | The session the sender belongs to. | |
| queue | The queue the sender sends messages to. |
| IllegalStateException | If the connection is broken. | |
| JMSException | If the creation fails for any other reason. |
Definition at line 41 of file QueueSender.java.
References com.scalagent.kjoram.MessageProducer.sess.
| String com.scalagent.kjoram.QueueSender.toString | ( | ) |
Returns a string view of this receiver.
Definition at line 47 of file QueueSender.java.
References com.scalagent.kjoram.Session.ident, and com.scalagent.kjoram.MessageProducer.sess.
| Queue com.scalagent.kjoram.QueueSender.getQueue | ( | ) | throws JMSException |
API method.
| IllegalStateException | If the sender is closed. |
Definition at line 57 of file QueueSender.java.
References com.scalagent.kjoram.MessageProducer.closed.
| void com.scalagent.kjoram.QueueSender.send | ( | Queue | queue, | |
| Message | message | |||
| ) | throws JMSException |
API method.
| UnsupportedOperationException | When the sender did not properly identify itself. | |
| JMSSecurityException | If the user if not a WRITER on the specified queue. | |
| IllegalStateException | If the sender is closed, or if the connection is broken. | |
| JMSException | If the request fails for any other reason. |
Definition at line 76 of file QueueSender.java.
| void com.scalagent.kjoram.QueueSender.send | ( | Queue | queue, | |
| Message | message, | |||
| int | deliveryMode, | |||
| int | priority, | |||
| long | timeToLive | |||
| ) | throws JMSException |
API method.
| UnsupportedOperationException | When the sender did not properly identify itself. | |
| JMSSecurityException | If the user if not a WRITER on the specified queue. | |
| IllegalStateException | If the sender is closed, or if the connection is broken. | |
| JMSException | If the request fails for any other reason. |
Definition at line 93 of file QueueSender.java.
1.5.0