0 Replies Latest reply on May 6, 2014 7:31 AM by Dmitri Zamysloff

    JMS deploying with address-setting

    Dmitri Zamysloff Newbie

      Hello Together,

       

      I am trying to deploy jms destination using *-jms.xml file. Unfortunatelly I was unable to deploy also address settings like this:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <messaging-deployment xmlns="urn:jboss:messaging-deployment:1.0">

          <hornetq-server>

              <address-settings>

                 <address-setting match="jms.queue.queue1">

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

                      <redelivery-delay>300000</redelivery-delay>

                      <max-delivery-attempts>3000</max-delivery-attempts>

                  </address-setting>

                  <address-setting match="jms.queue.queue2">

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

                      <redelivery-delay>300000</redelivery-delay>

                      <max-delivery-attempts>5</max-delivery-attempts>

                  </address-setting>

              </address-settings>

              <jms-destinations>

                  <jms-queue name="queue1">

                      <entry name="/queue/queue1"/>

                      <durable>true</durable>

                  </jms-queue>

                  <jms-queue name="queue2">

                      <entry name="/queue/queue2"/>

                      <durable>true</durable>

                  </jms-queue>

                  <jms-queue name="DLQ">

                      <entry name="/queue/DLQ"/>

                      <durable>true</durable>

                  </jms-queue>

              </jms-destinations>

          </hornetq-server>

      </messaging-deployment>

       

      problem was reported by element address-settings. Is there any other possibility or I must use server configuration?

      Thank you!