[
https://issues.apache.org/jira/browse/QPID-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aidan Skinner resolved QPID-771.
--------------------------------
Resolution: Fixed
Made AMQProtocolHandler throw exceptions on the connections exception listener
> Exceptions are not propogaged to threads who call protocolHandler.attainState
> -----------------------------------------------------------------------------
>
> Key: QPID-771
> URL: https://issues.apache.org/jira/browse/QPID-771
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M2
> Reporter: Martin Ritchie
> Fix For: M2.1, M3
>
>
> For example: AMQAuthenticationException is not propogaged when
> ConnectionCloseMethodHandler throws it.
> The time this is most likely to occur is when new AMQConnection is called
> however, in the makeBrokerConnection call in AMQConnection the
> protocolHandler.attainState() call never throws an exception other than
> AMQDisconnectedException and this is as a result of a time out.
> The attainState() has no mechanism of breaking out early if an error occurs.
> It MUST wait for the time out to expire, which is 30s by default. an NOT
> CONFIGURABLE.
> The AMQStateManager error() method is called but the exception is discarded.
> ALSO in this method there is :
> private final CopyOnWriteArraySet _stateListeners
> This list is ONLY ever iterated NO VALUES are added. WHY?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.