Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public class QueueReceiver : MessageConsumer |
Public Class QueueReceiver _ Inherits MessageConsumer |
public ref class QueueReceiver : public MessageConsumer |
Remarks
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.