public interface JmsMsgConsumer
extends javax.jms.MessageConsumer
Modifier and Type | Method and Description |
---|---|
javax.jms.Destination |
getDestination()
Get the Destination associated with this MessageConsumer.
|
javax.jms.Destination getDestination() throws javax.jms.JMSException
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.
javax.jms.JMSException
- If the JMS provider fails to get the destination for
this MessageProducer due to some internal error.