How could I achieve a transactional read (i.e. reading a JMS message as part of a transaction using MessageConsumer.receiveNoWait() and if the transaction fails the message should remain in the queue) ?
I'm thinking of using JmsXA connectionFactory and XA connections.
Thank you