2 Replies Latest reply on Apr 12, 2010 3:24 AM by mzeijen

    Why doesn't the core bridge have batch setting

    mzeijen

      Just a curiosity question: Why doesn't the core bridge have batch setting? With the JMS bridge you can enable batch transfer but with the core bridge you can't. Does this mean that the core bridge is so efficient that it doesn't need batch transfer settings?

        • 1. Re: Why doesn't the core bridge have batch setting
          timfox

          To ensure reliability certain operations on the JMS API are blocking, e.g. session.commit, producer.send() (for persistent messages), so they involve a network round trip. Also XAResource.commit()

           

          For performance it therefore makes sense when using the JMS API to batch up, say, many operations in a single transaction and just do a single commit at the end, thus minimising network round trips. That's why the JMS bridge batches.

           

          This is unnecessary when using the core bridge, as it it always just pipelines sent messages one after another (no network round trip), and uses duplicate detection to guarantee once and only once.

           

          This is discussed in more depth in the user manual.

          • 2. Re: Why doesn't the core bridge have batch setting
            mzeijen

            I am satisfied . Thanks for the info.