Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.8.0
Description
When a broker is shutdown all transport connectors are shutdown ok. However a vm client with pending asyncRequests does not get a notification of the peer (server in this case) shutdown and waits for ever.
This is noticeable in camel routes that do graceful shutdown from a shutdown hook when there are pending requests.
The current shutdown/stop logic sends a shutdowninfo which works fine when the client initiates the stop but shutdown in not processed by a client.
A simple fix is to propagate a shutdown/disposed exception that clients will respond to and error out any pending futures.