Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11079

Batch SJMS Consumer Dies on Failover

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.18.3
    • 2.19.0
    • camel-sjms
    • 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.

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

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              pboekelheide Peter Boekelheide
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: