2 Replies Latest reply on Sep 6, 2013 8:59 PM by bwallis42

    How to configure JMS Queue using external XML file in JBoss EAP 6.x ?

    fabioqb

      I found only informations about configure JMS Queues in standalone/domain xml file.

       

      There´s a way to configure like *ds.xml file ?

        • 1. Re: How to configure JMS Queue using external XML file in JBoss EAP 6.x ?
          surendrand001

          Hi,

          you can do it by adding from management console Messaging->Destinations.

          or in standalone.xml under

          <subsystem xmlns="urn:jboss:domain:messaging:1.3">

          as follows

           

          <jms-destinations>

                              <jms-queue name="queueName">

                                  <entry name="jndi-name"/>

                                  <durable>true</durable>

                              </jms-queue>

          <jms-destinations>

          • 2. Re: How to configure JMS Queue using external XML file in JBoss EAP 6.x ?
            bwallis42

            try this,

             

            <?xml version="1.0" encoding="UTF-8"?>
            <messaging-deployment xmlns="urn:jboss:messaging-deployment:1.0">
               <hornetq-server>
                  <jms-destinations>
                     <jms-queue name="fred">
                        <entry name="jms/queue/fred"/>
                        <entry name="java:jboss/exported/jms/queue/fred"/>
                     </jms-queue>
                  </jms-destinations>
               </hornetq-server>
            </messaging-deployment>
            

             

            name it "something-jms.xml" where "something" is something descriptive, ie "fredqueue-jms.xml" and copy it to your deployments directory.

             

            You will find some doco on this at https://docs.jboss.org/author/display/AS71/Messaging+configuration