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

Add the ability for CAMEL-RABBITMQ to support transactional consumers and producers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Information Provided
    • 2.19.1
    • None
    • camel-rabbitmq
    • Unknown

    Description

      Recommend enhancing the camel-rabbitmq component to optionally support transactional consumers and producers. As a temporary work around to make the consumer transactional, I added this.channel.txSelect(); to line 57 (camel 2-19 branch) and this.channel.txCommit(); to line 133 and this.channel.txRollback(); to line 165 of the RabbitMQConsumer. Recommend adding an endpoint option to disable or enable TX per channel

      Attachments

        1. RabbitConsumer.patch
          4 kB
          Gary D Motts
        2. RabbitMQEndpoint.patch
          2 kB
          Gary D Motts

        Activity

          People

            Unassigned Unassigned
            gmotts Gary D Motts
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: