I believe that exchange and dynamic routes automatically try to avoid loops using trace IDs and excludes, but queue routes do not have this configured automatically. You can specify arguments when you create your source queue (qpid.trace.id and qpid.trace.exclude) to achieve similar behavior. A message will be "tagged" with the value of qpid.trace.id whenever it is delivered to the queue. A message that is about to be delivered to a queue will be discarded if its "tag" matches the value of the qpid.trace.exclude argument on the queue.
Andy On Jul 13, 2011, at 12:53 PM, <[email protected]> wrote: > I'm trying to use queue routes to federate messages between two brokers. > Depending on the scenario, I sometimes end up with an infinite message > loop (where the same message continues to federate between the two brokers > repeatedly). > > Is there a way to prevent message loops when using queue routes? > > > > David Johnson > Princeton Consultants > 2 Research Way > Princeton, NJ 08540 > 609.987.8787 x266 --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
