Peter Boekelheide created CAMEL-11079:
-----------------------------------------

             Summary: Batch SJMS Consumer Dies on Failover
                 Key: CAMEL-11079
                 URL: https://issues.apache.org/jira/browse/CAMEL-11079
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 2.18.3
            Reporter: Peter Boekelheide
             Fix For: Future


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.

See https://github.com/apache/camel/pull/1565



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to