Collapse All Expand All

.NET Framework Class Library
MessageConsumer Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Gets this message consumer's message selector expression.

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public string MessageSelector { get; }

    Public ReadOnly Property MessageSelector As String

    public:
    property String^ MessageSelector {
    	String^ get ();
    }

#### Return Value

This message consumer's message selector, or null if no message selector exists for the message consumer (that is, if the message selector was not set or was set to null or the empty string).

# Remarks

A message selector restricts the set of messages that the consumer receives to those that match the selector.

A client sets this property when calling Session.CreateConsumer to create the consumer object.

# See Also

MessageConsumer Class
TIBCO.EMS Namespace