1 2 Previous Next 17 Replies Latest reply on Dec 10, 2013 12:31 PM by jbertram Go to original post
      • 15. Re: Problem setting the JMS jboss module in cluster
        jbertram

        How do i overcome this issue (replacing 0.0.0.0 by actual IP address in standalone.xml) by keeping Jboss 7.1.0.

        JBoss AS doesn't bind to 0.0.0.0 by default so you must be setting this somehow (e.g. on the command line using the -b switch).  Therefore, instead of using 0.0.0.0 you should use the actual IP address of the machine.

         

        I want to push messages on to HornetQ and all the nodes consume messages.

        The first thing you need to do is get clustering working.  I've made a recommendation to help you (i.e. don't bind to 0.0.0.0), but so far it doesn't appear that you've implemented it.  If clustering isn't working then you won't have any chance at message redistribution.

        • 16. Re: Problem setting the JMS jboss module in cluster
          klmurty

          Hi Justin,

           

          Thanks for you help!! I really appreciate.

           

          My issue is finally resolved by giving IP address in the stanalone.xml  like as follows:

           

          <interfaces>

                  <interface name="management">

                      <any-address/>

                  </interface>

                  <interface name="public">

                      <inet-address value="54.193.16.189"/>

                  </interface>

              </interfaces>


          Now, i can see machine host name instead of 0.0.0.0. So issue is resolved.


          I have 1 more question : consider my case, where i have 3 jboss 7.1 servers and once i push the messages on one of the servers, it is consumed by all the servers. So the same message is consumed in 3 servers which is duplication message processing in my case. How can i restrict that the message consumed by 1 server cant seen by other servers. So always the mesaage processed by 1 server, shouldn't be processed by other server. Is there is configuration to achive this?


          Thanks

          Murty

          • 17. Re: Problem setting the JMS jboss module in cluster
            jbertram

            Are you sending your JMS message to a queue or a topic?  If you send the message to a queue then only 1 consumer should receive the message.

            1 2 Previous Next