[6.3.x] Fix network bridge local-side close (#2475) - #2503
Merged
mattrpav merged 1 commit intoAug 28, 2026
Merged
Conversation
* 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)