Show Table of Contents
8.23. Rollbacks and the JMS JCA Listener
When using JMS JCA listener to orchestrate transactions, the retries will occur from the message queue. The maximum amount of retries and interval between retries can be set on the queue. If you are using HornetQ, you can include a hornetq-configuration.xml covering the rety policy for the specific queue the service is running from:
<configuration xmlns="urn:hornetq"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
<address-settings>
<address-setting match="jms.queue.MyServiceQueue">
<max-delivery-attempts>5</max-delivery-attempts>
<redelivery-delay>1000</redelivery-delay>
<max-size-bytes>10240</max-size-bytes>
</address-setting>
</address-settings>
</configuration>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.