IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.sib.api.jms
Interface JmsMsgConsumer

All Superinterfaces:
javax.jms.MessageConsumer

public interface JmsMsgConsumer
extends javax.jms.MessageConsumer

Contains provider specific methods relating to the javax.jms.MessageConsumer interface.


Method Summary
 javax.jms.Destination getDestination()
          Get the Destination associated with this MessageConsumer.
 
Methods inherited from interface javax.jms.MessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 

Method Detail

getDestination

javax.jms.Destination getDestination()
                                     throws javax.jms.JMSException
Get the Destination associated with this MessageConsumer.

This method should be part of the standard JMS interfaces (to provide symmetry with the MessageProducer, and also QueueReceiver/TopicSubscriber, however it appears to have been omitted.

Returns:
This consumer's Destination.
Throws:
javax.jms.JMSException - If the JMS provider fails to get the destination for this MessageProducer due to some internal error.

IBM WebSphere Application ServerTM
Release 8