NOTE: This property is now obsolete.
Use MessageConsumer.MessageListener instead.
Get or set the message listener for the session. -Deprecated, use MessageConsumer.MessageListener instead.
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
Exception Type | Condition |
---|---|
IllegalStateException | If the session is closed |
Session Class | TIBCO.EMS Namespace