Skip to content

[5.19.x] Fix network bridge silent death when transport exception occurs during broker info handshake (#1865)#2228

Merged
cshannon merged 1 commit into
apache:activemq-5.19.xfrom
cshannon:backport-1865-5.19.x
Jul 17, 2026
Merged

[5.19.x] Fix network bridge silent death when transport exception occurs during broker info handshake (#1865)#2228
cshannon merged 1 commit into
apache:activemq-5.19.xfrom
cshannon:backport-1865-5.19.x

Conversation

@cshannon

Copy link
Copy Markdown
Contributor

Remove early return in onException() handlers for local and remote transports in DemandForwardingBridgeSupport. When futureBrokerInfo was not done, the handler cancelled the future and returned without calling serviceLocalException()/serviceRemoteException(), preventing the reconnection chain from firing in some cases. This prevents relying on only the timeout connection on the future from triggering reconnect and passes the original error.

(cherry picked from commit dce599f)

…g broker info handshake (apache#1865)

Remove early return in onException() handlers for local and remote
transports in DemandForwardingBridgeSupport. When futureBrokerInfo
was not done, the handler cancelled the future and returned without
calling serviceLocalException()/serviceRemoteException(), preventing
the reconnection chain from firing in some cases. This prevents
relying on only the timeout connection on the future from triggering reconnect
and passes the original error.

(cherry picked from commit dce599f)
@cshannon
cshannon force-pushed the backport-1865-5.19.x branch from 6d2835a to b67452f Compare July 17, 2026 19:58
@cshannon
cshannon merged commit bb643f3 into apache:activemq-5.19.x Jul 17, 2026
3 of 4 checks passed
@cshannon
cshannon deleted the backport-1865-5.19.x branch July 17, 2026 20:39
@github-project-automation github-project-automation Bot moved this from Todo to Done in Apache ActiveMQ v5.19.9 Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

2 participants