MQQueueSender

public class MQQueueSender
extends MQMessageProducer
implements QueueSender
java.lang.Object
   |
   +----com.ibm.mq.jms.MQMessageProducer
           |
           +----com.ibm.mq.jms.MQQueueSender
          

A client uses an MQQueueSender to send messages to a queue. A QueueSender is normally associated with a particular queue. However, it is possible to create an unidentified QueueSender that is not associated with any given queue.

Methods

close

public void close() throws JMSException;

Close the sender. Releases underlying resources associated with this receiver.

Exceptions

getQueue

public Queue getQueue() throws JMSException;

Gets the Queue associated with this sender.