2 Replies Latest reply on Jan 17, 2007 9:02 AM by vvd

    Bringing up the Queue created via Console

    vvd

      I have standalone messaging server which talks to MySQL.

      I am using the console to create the queue's and I see there is an entry
      for it in the DB.

      When I bring down and bring up the standalone messaging server, it only
      brings up the queue's in the destinations-service.xml

      How can I make the standalone messaging server to also to show the one created via console also? that information exists in the DB

      Thanks,

        • 1. Re: Bringing up the Queue created via Console
          peterj

          None of the changes made in the console are persistent, nor is there a way to persist them. You will always lose them when you restart the server.

          To create persistent queue, create a *-service.xml file with contents such as:

          <?xml version="1.0" encoding="UTF-8"?>
          <server>
           <mbean code="org.jboss.jms.server.destination.Queue"
           name="your.name.here:service=Queue,name=yourQueueName"
           xmbean-dd="xmdesc/Queue-xmbean.xml">
           <depends optional-attribute-name="ServerPeer">
           jboss.messaging:service=ServerPeer
           </depends>
           </attribute>
           </mbean>
          </server>


          Place the file in the deploy directory.

          (Hope I didn't mistype anything, converted from an existing topic descriptor.) For further details, read the JBoss Messaging documentation.



          • 2. Re: Bringing up the Queue created via Console
            vvd

            Thanks peter for the clarification.

            so I create a file destination-service.xml file and code with custom parameters.