Collapse All Expand All

.NET Framework Class Library
Members See Also

[TIBCO.EMS .NET client library 5.1 documentation]

A client uses a QueueReceiver object to receive messages that have been delivered to a queue.

Namespace: TIBCO.EMS
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.

# Inheritance Hierarchy

System..::.Object
TIBCO.EMS..::.DPQMember
TIBCO.EMS..::.MessageConsumer
TIBCO.EMS..::.QueueReceiver

# See Also

QueueReceiver Members
TIBCO.EMS Namespace