Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.18.3
-
None
-
Unknown
Description
Problem:
When using failover in queue consumption, if a connection is bumped to another broker then the session in SjmsBatchConsumer becomes invalid and an IllegalStateException is thrown, which causes the route (and possibly the application) to exit.
Solution:
Introduce a new URI param that allows the SjmsBatchConsumer to create a new session when this situation occurs, but default the param to a value that preserves the original behavior so nobody gets a nasty surprise.
Attachments
Issue Links
- links to