Hi
I don't want that dead messages go to the queue://ActiveMQ.DLQ.
Instead, I'd like to re-enqueue these messages indefinitely. Here's
how it looks like
<Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
BrokerXmlConfig = broker:(tcp://localhost:61616)?persistent=true
ServerUrl = tcp://localhost:61616
DataSource = MyJmsDataSource
maximumRedeliveries -1
</Resource>
also tried
<Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
BrokerXmlConfig = broker:(tcp://localhost:61616)?persistent=true
ServerUrl = tcp://localhost:61616
DataSource = MyJmsDataSource
maximumRedeliveries = -1
</Resource>
acknowledge is auto
session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
although it's not re-enqueueing. How do I configure tomee.xml properly
to do that?
TIA
Leo