[
https://issues.apache.org/jira/browse/AMQ-3074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish resolved AMQ-3074.
-------------------------------
Resolution: Fixed
Fix Version/s: 5.6.0
Assignee: Timothy Bish
Don't see any harm in exposing this so I applied the patch. Thanks.
> Expose TransportConnection.stopping
> -----------------------------------
>
> Key: AMQ-3074
> URL: https://issues.apache.org/jira/browse/AMQ-3074
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.4.2
> Reporter: Adam Sussman
> Assignee: Timothy Bish
> Priority: Minor
> Fix For: 5.6.0
>
> Attachments: amq-3074.patch
>
>
> Pleas expose the boolean broker.TransportConnection.stopping.
> When an exception occurs on a TransportConnection (aka client closes or drops
> connection to server), there is no visibility into the fact that the
> connection is broken until the async stop process stops. Often this gets
> delayed by other processing. The 'stopping' variable gets set immediately on
> exception and so processes that are doing work with the connection can check
> it and get immediate feedback.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira