2 Replies Latest reply on Jan 13, 2010 4:24 AM by Friedrich Sicher

    JBoss ESB and deployment.xml

    Friedrich Sicher Newbie

      I'm new to ESB and don't understand, what role does the file deployment.xml have. Could someone explain this in few sentences, or is there a document, where I could read about this?

       

      Example (quickstart/helloworld):

       

      <jbossesb-deployment>
          <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb</depends>
          <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw</depends>
      </jbossesb-deployment>

       

      Does it mean, that the JBoss runtime has to generate two queue instances: quickstart_hewlloworld_Request_esb and quickstart_Request_gw?

       

      I've read JBossESB 4.7 - Programmers Guide, but I didn't find anything about deployment.xml. How ist this file structured and what is the role of individual parts? And, what aobut jbm-queue-service.xml? What role has this file?

        • 1. Re: JBoss ESB and deployment.xml
          Daniel Bevenius Master

          Hi,

           

          you can find some information about the various files that can exist a '.esb' archive here.

          Quote from the wike page:

          • the deployment.xml is optional, but can be used for 2 reasons:

            • make this .esb archive depend on other archives/MBeans, to specify classloading order (this includes message queues).

            • make the deployment of this .esb archive scoped.

           

          And, what about jbm-queue-service.xml? What role has this file?

          This is queue definition for JBoss Messaging. This file configures the queues that are used by the service. The file deployment.xml then declares that this ESB deployment depends on those queue. This makes sure that the queues are deployed and available before the .esb archive is deployed.

           

          Regards,

           

          /Daniel

          • 2. Re: JBoss ESB and deployment.xml
            Friedrich Sicher Newbie

            Thanks Daniel.

             

            Best regards.