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

JMS Session not exposed to Camel route

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15.1
    • Fix Version/s: 2.16.0
    • Component/s: camel-jms
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      On a JMS message consumer route, we support

      jms:...&acknowledgementModeName=CLIENT_ACKNOWLEDGE
      

      The pattern is that a client may chose to process a batch of msgs before it acks. If batch processing succeeds the client calls Message.acknowledge(). If it fails, the client may choose to recover the msgs in the batch with Session.recover()

      The Session is however not exposed to the client, which makes it impossible to call Session.recover(). CLIENT_ACKNOWLEDGE has IMHO currently limited use because of this.

      CrossRef: https://jira.spring.io/browse/SPR-12961

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              tdiesler Thomas Diesler
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: