cshannon commented on PR #1865:
URL: https://github.com/apache/activemq/pull/1865#issuecomment-4180842780

   So digging in a bit more I see that when the exception happens it doesn't 
pass the IOException obviously, but `futureRemoteBrokerInfo.cancel(true); `is 
called which triggers the `TimeoutException`. That does get passed to 
`serviceRemoteException()` in `collectBrokerInfos()` which should trigger the 
reconnect.
   
   So the part that I am confused about is your saying that returning early 
prevents fireBridgeFailed() from firing, but from what I can see returning 
early first calls cancel on the futureRemoteBrokerInfo which in turn cause the 
TimeoutException which is caught later and triggers fireBridgeFailed()


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to