[TIBCO.EMS .NET client library 8.1 documentation]

Defines the name of the provider property controlling if the Session.Close, Connection.Close or Connection.Stop methods can be called in the IMessageListener.OnMessage callback.

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public const string PROP_CLOSE_IN_CALLBACK
Public Const PROP_CLOSE_IN_CALLBACK As String
public:
literal String^ PROP_CLOSE_IN_CALLBACK

Remarks

According to the JMS 2.0 specification, calling any of these methods must trigger an IllegalStateException. If this property is set then the Close or the Stop method can be called inside the callback and it will not throw an exception and will proceed without waiting for the same callback to return. This property is defined as string "tibco.tibjms.close.in.callback".

See Also