2 Replies Latest reply on Apr 22, 2015 1:50 PM by msayeed

    ActiveMQ Intgration: rar vs bridge:

    msayeed

      What would be the recommended approach?

       

      My understanding is for JMS bridge the messages posted to hornetq queue/topic and bridge forwards to ActiveMq target. ActiveMQ rar essentially a local JMS Client  that will post messaged to a remote ActiveMQ.

       

      So the question is this JMS Bridge add significant overhead and less efficient?

       

       

      Note: Not sure if this the right forum. Didn't see any JMS specific forum.


      Thanks for your help.


      Parvez.

        • 1. Re: ActiveMQ Intgration: rar vs bridge:
          jbertram

          A message bridge is typically used when store-and-forward semantics are required.  For example, if the remote destination may be down but the sender wants to ensure the message is stored locally and eventually sent later when the remote destination is available again.

           

          In general the bridge is less efficient than sending messages directly because of the extra "hop" the message must take.  Furthermore, the bridge is single threaded which means it would suffer in a performance comparison to concurrent producers.  If once-and-only-once semantics are required then that will further hurt performance due to the extra XA transaction required.

          • 2. Re: ActiveMQ Intgration: rar vs bridge:
            msayeed

            Thank you.