com.ibm.websphere.sib.api.jms

Interface JmsMsgConsumer

All Superinterfaces:
javax.jms.MessageConsumer

  1. public interface JmsMsgConsumer
  2. extends javax.jms.MessageConsumer
Contains provider specific methods relating to the javax.jms.MessageConsumer interface.

Method Summary

Modifier and Type Method and Description
  1. 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

  1. javax.jms.Destination getDestination( )
  2. 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.