Get and set the asynchronous message listener
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.
Exception Type | Condition |
---|---|
IllegalStateException | If the consumer is closed |
MessageConsumer Class | TIBCO.EMS Namespace