Skip to content

[5.19.x] Fix network bridge local-side close (#2475) (#2503) - #2510

Merged
mattrpav merged 1 commit into
apache:activemq-5.19.xfrom
mattrpav:fix-network-bridge-local-close-5.19.x
Sep 2, 2026
Merged

mattrpav merged 1 commit into
apache:activemq-5.19.xfrom
mattrpav:fix-network-bridge-local-close-5.19.x

Conversation

@mattrpav

@mattrpav mattrpav commented Sep 2, 2026

Copy link
Copy Markdown
Contributor
  • Fix: Perform full lifecycle network bridge shutdown on an administrative stop

  • Update transport connection stop to pass exception (Activemq 5.5.1.1 #7)

  • Update transport connection stop to pass exception

This updates the transport stop to pass any transport exception to the transport during the stop() method call. The transport can optionally decide to use it. In this case the VMTransport has been updated to include the exception as part of the ShutdownInfo command so that bridges know whether stop() was called normally or because of an error. The use of this could be expanded to other transports in the future

Test fixes:


(cherry picked from commit 9156668)

(cherry picked from commit 3762e08)

@mattrpav mattrpav self-assigned this Sep 2, 2026
@mattrpav mattrpav changed the title Fix network bridge local-side close (#2475) (#2503) [5.19.x] Fix network bridge local-side close (#2475) (#2503) Sep 2, 2026
* Fix: Perform full lifecycle network bridge shutdown on an administrative stop

* Update transport connection stop to pass exception (#7)

* Update transport connection stop to pass exception

This updates the transport stop to pass any transport exception to the
transport during the stop() method call. The transport can optionally
decide to use it. In this case the VMTransport has been updated to
include the exception as part of the ShutdownInfo command so that
bridges know whether stop() was called normally or because of an error.
The use of this could be expanded to other transports in the future

Test fixes:

---------

(cherry picked from commit 9156668)

Co-authored-by: Christopher L. Shannon <cshannon@apache.org>
(cherry picked from commit 3762e08)

* 5.19.x backport updates for fix Network Bridge local close
@mattrpav
mattrpav force-pushed the fix-network-bridge-local-close-5.19.x branch from 3714e14 to f5a9f29 Compare September 2, 2026 17:16
@mattrpav
mattrpav merged commit 1c9a398 into apache:activemq-5.19.x Sep 2, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Apache ActiveMQ v5.19.11 Sep 2, 2026
@mattrpav
mattrpav deleted the fix-network-bridge-local-close-5.19.x branch September 2, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

1 participant