MessageConsumer/MessageProducer vs QueueSender/QueueReceiver

Viewed 5445

Is the MessageConsumer/MessageProducer the XA equivalent of QueueSender/QueueReceiver?

As far as I can understand the MessageConsumer/MessageProducer are better used in a XA context.

In my app I want to switch from QueueConnectionFactory, QueueConnection, QueueSession to their XA equivalent and for that I would need to use MessageConsumers/Receivers instead of QueueSenders and QueueReceivers.

1 Answers
Related