0 Replies Latest reply on Oct 15, 2016 6:56 AM by sureshshine2020

    How configure the Error/DLQ Queue in Jboss EAP7.0

    sureshshine2020

      Hi All,

       

      Planning to migrate the Weblogic JMS to Jboss EAP 7 - messaging-activemq. In weblogic , We have a weblogic error queue configuration as below

       

      <delivery-failure-params>

                <error-destination>ErrorQueue</error-destination>

                 <redelivery-limit>0</redelivery-limit>

                 <expiration-policy>Redirect</expiration-policy>

        </delivery-failure-params>

       

      My Jboss EAP 7.0 , Configuration below

       

      <address-setting name="jms.queue.MyQueue" max-delivery-attempts="0" redelivery-delay="0" expiry-address="jms.queue.ExpiryQueue" dead-letter-address="jms.queue.ErrorQueue"/>

       

      <jms-queue name="MyQueue" entries="java:/com/MyQueue"/>

      <jms-queue name="ErrorQueue" entries="java:/com/ErrorQueue"/>

      <jms-queue name="ExpiryQueue" entries="java:/com/ExpiryQueue"/>

       

      Error Scenario: Message delivery is failed when processing the message in onMessage (working in Weblogic and not working in Jboss EAP 7.0)

       

      Could you please let me know how to configure the error destination queue in Jboss EAP 7 and also I tried to that in DLQ but it will not work same as weblogic error-destination queue.

       

      Thanks much