0 Replies Latest reply on Sep 8, 2004 4:48 PM by James Adams

    5.3.1. The jbossmq-destinations-service.xml File

    James Adams Novice

      When I tried adding a queue using an entry like the one specified on page 34 of the "Getting Started Guide" I ran into trouble, until I figured out that I need to also have a DestinationManager dependency. So the actual entry needed in jbossmq-destinations-service.xml should look like this:

       <mbean code="org.jboss.mq.server.jmx.Queue"
       <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>

      I'm running JBoss 3.2.5 with a clustered (all) configuration. Perhaps this isn't necessary for a default configuration, which would explain why it's left out in this example. In any event it might be a good idea to add/mention this in the example the next time the document goes to press.