[TIBCO.EMS.UFOCLIENT .NET client library 6.3 documentation]
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)
Get or set the message listener for the session. -Deprecated, use MessageConsumer.MessageListener instead.
Namespace:
TIBCO.EMS.UFOAssembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)
Syntax
[ObsoleteAttribute("Use MessageConsumer.MessageListener instead.")] public IMessageListener MessageListener { get; set; } |
<ObsoleteAttribute("Use MessageConsumer.MessageListener instead.")> _ Public Property MessageListener As IMessageListener |
[ObsoleteAttribute(L"Use MessageConsumer.MessageListener instead.")] public: property IMessageListener^ MessageListener { IMessageListener^ get (); void set (IMessageListener^ value); } |
Remarks
The access of message listener through the Session object
is deprecated. Please use the facility in MessageConsumer 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
Exceptions
Exception | Condition |
---|---|
IllegalStateException | If the session is closed |