smallrye-reactive-messaging icon indicating copy to clipboard operation
smallrye-reactive-messaging copied to clipboard

RabbitMQ - Use of Transactional on @Incoming and @Outgoing

Open gpor0 opened this issue 1 year ago • 2 comments

Hi,

I went through the documentation but I cannot find anything related to the JTA. I would like to know if is it possible to create transaction towards RabbitMQ in order to make atomic transaction over the RabbitMQ consume / publish operations meaning consumed and published message will be atomic operation on the RabbitMQ?

gpor0 avatar Nov 11 '22 15:11 gpor0

JTA is not supported (as it requires a synchronous blocking model).

cescoffier avatar Nov 13 '22 16:11 cescoffier

It looks like annotating the method with @Transactional enables the blocking behavior but this does not take transactions into account.

gpor0 avatar Nov 13 '22 16:11 gpor0