2 Replies Latest reply on May 20, 2011 3:14 PM by everjava

    configuration of jbm-queue-service.xml

    everjava

      in the file jbm-queue-service.xml there's

       

        <mbean code="org.jboss.jms.server.destination.QueueService"

          name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_cbr_Request"

          xmbean-dd="xmdesc/Queue-xmbean.xml">

          <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>

          <depends>jboss.messaging:service=PostOffice</depends>

        </mbean>

       

      i 'd like to know if the bold item marked above is defined by developer or is it a default configuration ?

       

      And, i have to use the file jbmq-queue-service.xml in my projects ?? I'm using just jbm-queue-service.xml, jboss-esb.xml and deployment.xml until now is enough ...

       

       

      Thanks

        • 1. Re: configuration of jbm-queue-service.xml
          ryanhos

          The value of the name attribute is a JMX object name.  The part to the left of the colon, not including the colon is the domain.  The part to the right of the colon is the key properties string.

           

          http://download.oracle.com/javaee/1.4/api/javax/management/ObjectName.html

           

          The domain under which the QueueService is registered is unimportant to the proper functioning of JBoss Messaging.  You could in fact replace this string with any other valid string, "my.super.sweet.jmx.domain" perhaps, and your Quickstart would continue to function just fine.

           

          Keep in mind that the <depends> entries in the deployment.xml file refer to the same JMX object name, so you'll have to update these entries also, or your ESB archives will fail to deploy because of unfulfilled dependencies.

           

          You don't need the jbmq-queue-service.xml if you're using a JBoss Messaging.  These are only included to accommodate people who are still on JBoss MQ.

          • 2. configuration of jbm-queue-service.xml
            everjava

            Thanks Ryan!