4 Replies Latest reply on Sep 19, 2011 9:29 AM by tehehe

    Clustered destinations

    tehehe

      In JBM in order to get clustered destination you had to specify <clustered>true</clustered>  in deployment descriptor of destination. Thanks to this option I could have clustered and non-clustered destinations using the same instance of application server. Question is: how to achieve the same with hornetq?

      I have tried <clustered>true</clustered> in hornetq-configuration.xml but his makes all destinations clustered which is not what I want.

        • 1. Re: Clustered destinations
          gaohoward

          I think you can read the HornetQ user guide for how to configure it.

           

          Howard

          • 2. Re: Clustered destinations
            tehehe

            Thank you for taking your time to reply.There is no equivalent parameter in hornetq for destinations and there is no migration guide from jbm available AFAIK. All that makes searching for this particular problem difficult - I don't even know where to start. There is nothing obvious about it in the user guide that I could find.

            • 3. Re: Clustered destinations
              gaohoward

              Sorry actually there is no such parameter in HornetQ. In HornetQ you simple configure the same queue on the clustered nodes and it automatically become clustered. If you don't want the queue clustered, just deploy it in one node.

               

              Howard

              • 4. Re: Clustered destinations
                tehehe

                That is too bad - it will complicate deployment. Thank you.