2 Replies Latest reply on Jul 26, 2013 8:57 AM by pela2

    Queue/Topics Deploy

    pela2

      Hi. The deploy the queues / topics can be done using the *-jms.xml, but you could define a DLQ and additional settings.

      They're thinking about changing this?


       

      Tks

      Alfredo.

        • 1. Re: Queue/Topics Deploy
          jaikiran

          Alfredo, welcome to the forums.

           

          Which JBoss AS/WildFly version are you using? I don't fully understand the question. What problem are you running into with the current feature that allows deploying JMS destinations from a *-jms.xml file?

          • 2. Re: Queue/Topics Deploy
            pela2

            I’m  using Jboss AS 7 (community) and EAP 6.

            I’m deploying the file “test-jms.xml” with the following structure:

             

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

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

             

               <hornetq-server>

              

               <address-settings>

                     <address-setting match="MyQueue">

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

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

                        <redelivery-delay>0</redelivery-delay>

                     </address-setting>

                    

               </address-settings>

              

                  <jms-destinations>

                     <jms-queue name="MyQueue">

                        <entry name="jms/queue/MyQueue"/>

                        <entry name="java:jboss/exported/jms/queue/MyQueue"/>

                     </jms-queue>

                      <jms-queue name="MyQueueDLQ">

                            <entry name="jms/queue/MyQueueDLQ"/>

                            <entry name="java:jboss/exported/jms/queue/MyQueueDLQ"/>

                     </jms-queue>

                  </jms-destinations>

               </hornetq-server>

            </messaging-deployment>

             

             

             

            I got the error malformed file ..., i´m looking at the xs "urn:jboss:messaging-deployment:1.0 (.../AS7/docs/schemas/jboss-as-messaging-deployment_1_0.xsd)" and not support "<address-settings>".

            This will change in the future?

            Where should I propose it?

             

            Tks!