You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/02 10:48:00 UTC

[jira] [Resolved] (CAMEL-11519) Add the ability for CAMEL-RABBITMQ to support transactional consumers and producers

     [ https://issues.apache.org/jira/browse/CAMEL-11519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-11519.
---------------------------------
    Resolution: Information Provided

use camel-spring-rabbitmq

> Add the ability for CAMEL-RABBITMQ to support transactional consumers and producers
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-11519
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11519
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-rabbitmq
>    Affects Versions: 2.19.1
>            Reporter: Gary D Motts
>            Priority: Minor
>              Labels: rabbitmq
>         Attachments: RabbitConsumer.patch, RabbitMQEndpoint.patch
>
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)