TIBCO Enterprise Message Service 4.3.0 .NET Client Class Library

MessageConsumer.MessageListener Property

Get and set the asynchronous message listener

public IMessageListener MessageListener {get; set;}

Remarks

User should either use MessageHandler or MessageListener to handle asynchronous message consumptions, but not both. Setting up both will cause the message to be handled more than once which can result in undefined behavior
For complete details, see the corresponding item in the book TIBCO Enterprise Message Service .NET Reference.

Exceptions

Exception Type Condition
IllegalStateException If the consumer is closed

See Also

MessageConsumer Class | TIBCO.EMS Namespace