[TIBCO.EMS .NET client library 7.0 documentation]

Defines the name of the provider property controlling if a MessageConsumer.close(), Session.close() or Connection.close() methods can be called in the MessageListener 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 specifications, calling any of those methods must wait for the MessageListener callback to return before the close() method can return to the calling application. Consequently, if the close() method is called inside the callback it causes a deadlock. If this property is set then the close() method can be called inside the callback and it will not wait for the same callback to return.

This property is defined as string "tibco.tibjms.close.in.callback".

See Also