Class
Root behavior of all consumers.
Consumers can receive messages synchronously (using the Receive
methods), or asynchronously.
Consumers can receive messages asynchronously in either of two idioms. Programmers may select either idiombut not both (which would cause duplicate message processing, with undefined behavior).
MessageHandler
events let programs receive messages in a .NET programming idiom.MessageListener
property mimics the way in which JMS provides similar functionality in a Java programming idiom.
Member
|
Description
|
---|---|
Events
|
|
MessageHandler
|
The client library raises an event when a message arrives at the destination. The program implements a handler delegate to processes it asynchronously, and registers the delegate here. See Remarks, above.
|
Properties
|
|
MessageListener
|
IMessageListener {get; set;}
When a message arrives, the client library calls this listener’s
onMessage method with the message as its argument. The program implements the message listener interface, and registers a message listener object by setting this property. See Remarks, above.
|
MessageSelector
|
string {get;}
A message selector restricts the set of messages that the consumer receives to those that match the selector; see Message Selectors.
Programs can set this property only when creating the consumer object; see
Session.CreateConsumer .
|
TIBCO Enterprise Message Service™ .NET Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |