Method
Override a JMS requirement so client callbacks may call close methods.
According to the JMS specification, close methods (that is, MessageConsumer.Close
, Session.Close
, Connection.Close
) cannot return while any message callbacks (that is, EMSMessageHandler
, IMessageListener.OnMessage
) are running. As a result, a message callback must not call a close method, lest it cause a deadlock.
This method explicitly overrides this JMS requirement, permitting callbacks to call close without deadlock (that is, embedded close calls do not wait for callbacks to return).
Parameter
|
Description
|
---|---|
allow
|
When
true , EMS overrides the JMS specification.
When
false (the default), EMS obeys the JMS specification.
|
Tibems.GetAllowCloseInCallback
TIBCO Enterprise Message Service™ .NET Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |