JBoss Community

Message Retry Not working

created by Ranajit Jana in JBoss Messaging - View the full discussion

Hi,

I have used the following configuration for the message retry.

 

 

                <address-settings>

                    <address-setting match="#">

                        <dead-letter-address>jms.queue.deadLetterQueue</dead-letter-address>

                        <expiry-address>jms.queue.expiryQueue</expiry-address>

                        <redelivery-delay>30</redelivery-delay>

                        <max-delivery-attempts>20</max-delivery-attempts>

                        <max-size-bytes>100000</max-size-bytes>

                        <page-size-bytes>20000</page-size-bytes>

                        <address-full-policy>PAGE</address-full-policy>

                        <message-counter-history-day-limit>10</message-counter-history-day-limit>

                        <last-value-queue>true</last-value-queue>

                        <redistribution-delay>0</redistribution-delay>

                        <send-to-dla-on-no-route>true</send-to-dla-on-no-route>

                    </address-setting>

                </address-settings>

 

The issue I am facing is if the message fails it does not go back to the queue.Also the error which should appear in the Jms should be printed again and again if the same is called for retry.

Currently the error is showing up only one.

 

and I see 4 messages put into the deadLetterQueue.

 

When I try to dequeue and read the messages than deadletter queue print the following when we print the message.

 

HornetQMessage[null]:PERSISTENT.

 

all the queues are configured fine and I can see them from the console.

 

Any idea where I am going wrong.

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community