Skip to content

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

Merged
mattrpav merged 1 commit into
apache:activemq-6.3.xfrom
mattrpav:amq-harden-netbridge-local-close-6.3.x
Aug 28, 2026
Merged

[6.3.x] Fix network bridge local-side close (#2475)#2503
mattrpav merged 1 commit into
apache:activemq-6.3.xfrom
mattrpav:amq-harden-netbridge-local-close-6.3.x

Conversation

@mattrpav

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)

* 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:

Co-authored-by: Matt Pavlovich <mattrpav@apache.org>

---------

Co-authored-by: Christopher L. Shannon <cshannon@apache.org>
(cherry picked from commit 9156668)
@mattrpav mattrpav self-assigned this Aug 28, 2026
@mattrpav mattrpav changed the title Fix network bridge local-side close (#2475) [6.3.x] Fix network bridge local-side close (#2475) Aug 28, 2026
@mattrpav
mattrpav merged commit 3762e08 into apache:activemq-6.3.x Aug 28, 2026
19 of 20 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Apache ActiveMQ v6.3.2 Aug 28, 2026
@mattrpav
mattrpav deleted the amq-harden-netbridge-local-close-6.3.x branch August 28, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant