1 Reply Latest reply on May 4, 2016 6:20 AM by Sony Joseph

    JBoss EAP 6.3 not rolling back message into individualDeadLetterQueue

    Sony Joseph Novice

      I use JBoss EAP 6.3 with ActiveMQ from JBoss Fuse ESB 6.2. I tried the below configuration into activemq.xml to ensure that the rolled back messages go into individualDeadLetterQueue but it is not happening so. Could you please suggest?

       

      <broker xmlns="http://activemq.apache.org/schema/core" brokerName="${broker-name}" dataDirectory="${data}" start="false" restartAllowed="false">

        <destinationPolicy>

                  <policyMap>

                    <policyEntries>

                      <policyEntry topic=">" producerFlowControl="true">

                        <pendingMessageLimitStrategy>

                          <constantPendingMessageLimitStrategy limit="1000"/>

                        </pendingMessageLimitStrategy>

                      </policyEntry>

                      <policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb">

        <deadLetterStrategy>

        <individualDeadLetterStrategy queuePrefix="Test.DLQ." useQueueForQueueMessages="true"/>

        </deadLetterStrategy>

                      </policyEntry>

                    </policyEntries>

                  </policyMap>

              </destinationPolicy>

        • 1. Re: JBoss EAP 6.3 not rolling back message into individualDeadLetterQueue
          Sony Joseph Novice

          I have tried this in activemq.xml in another machine and found that it works. But the same configuration does not work in another machine. I am really confused over this.

           

              <destinationPolicy>

                      <policyMap>

                        <policyEntries>

                          <policyEntry topic=">" producerFlowControl="true">

                            <pendingMessageLimitStrategy>

                              <constantPendingMessageLimitStrategy limit="1000"/>

                            </pendingMessageLimitStrategy>

                          </policyEntry>

                          <policyEntry queue=">" producerFlowControl="true" memoryLimit="1mb">

            <deadLetterStrategy>

            <individualDeadLetterStrategy queuePrefix="DLQ." useQueueForQueueMessages="true"/>

            </deadLetterStrategy>

                          </policyEntry>

                        </policyEntries>

                      </policyMap>

                  </destinationPolicy>