TIBCO EMS .NET API 8.5
TIBCO EMS .NET API 8.5
|
A client uses a QueueReceiver object to receive messages that have been delivered to a queue. More...
Properties | |
Queue | Queue [get] |
Gets the Queue associated with this queue receiver. More... | |
Additional Inherited Members |
A client uses a QueueReceiver object to receive messages that have been delivered to a queue.
This class inherits almost all of its behavior from MessageConsumer. It adds only a property, specializing the generic destination to a queue.
Although it is possible to have multiple QueueReceivers for the same queue, the behavior of how messages get distributed between the QueueReceivers is undefined.
If a QueueReceiver specifies a message selector, the messages that are not selected remain on the queue. By definition, a message selector allows a QueueReceiver to skip messages. This means that when the skipped messages are eventually read, the total ordering of the reads does not retain the partial order defined by each message producer. Only QueueReceivers without a message selector will read messages in message producer order.
Note: This class is provided for backward compatibility to support older EMS clients programs. New clients should use the MessageConsumer class instead.