2 Replies Latest reply on Mar 26, 2013 9:30 AM by jcichocki

    ESB and HornetQ

    jcichocki

      I have just installed the latest version of the ESB and have it setup using hornetQ. This is my first time using hornetQ and the ESB. I have a few services that will need core bridges to another server also running the same version of hornetQ. It looks like I need the following 2 files to get this done: hornetq-jms.xml (to set up the jms portion of queues) and hornetq-configuration (for the core bridge and queue configuration).

       

      I initially started out with just the esb including the hornetq-jms.xml file, and added the queue and bridge info in to the /deploy/hornetq/hornetq-configuration.xml file. This setup seemed to work, I was hoping to just add a hornetq-configuration.xml to the esb deployment file with just the entries for the queue and bridge. However this setup states that the queue is not deployed (I assume it is not using the hornetq-configuration file).

       

      I think in our deployment we are going to have quite a few bridges and I was hoping to keep this all together with the services. Any recommendations on keeping this as clean as possible?

        • 1. Re: ESB and HornetQ
          tcunning

          Can you post your deployment.xml so we can check that you are specifying dependencies correctly?

          • 2. Re: ESB and HornetQ
            jcichocki

            Sure, I attached 3 files: deployment, hornetq-jms and hornetq-configuration that are in the esb deployment.

             

            Basically this service has a webservice listner, does a translation and writes to a local queue. The core bridge then moves this message to another app server cluster (5.1 EAP) also using hornetQ (same version).

             

            Also the remote connector works fine. If I were to remove the hornetq-configuration.xml and move those entries into the /deploy/hornetq/hornetq-configuration.xml the service and bridge work fine.

             

            Thanks