hi, thank you both for the code base. What we wish to do is do a check on the broker which has the msgs and if there is no consumer on the broker, it then can forward to other consumer on a remote broker even if the msg is coming from the remote broker. This should be safe, right?
But I encounter the following issue, if the msg is forwarded to the remote broker where it comes from, KahaReferenceStore will check duplication and consider it already dispatched. the msg is complete lost this time. Any idea of how we can go our approach. The overall idea is if the broker has no consumer at all, it should not hold msgs. it shall dispatch it to others, even the other is the one where the msg is original coming from. best, ying Gary Tully wrote: > > The code in serviceRemoteConsumerAdvisory blocks cyclic subscriptions but > there is also a filter installed that blocks bouncing messages, enable > trace > level logging for org.apache.activemq.command.NetworkBridgeFilter to see > it > in action. > > It is installed in > org.apache.activemq.network.DemandForwardingBridgeSupport.configureDemandSubscription > > hth, > Gary. > > 2009/6/12 Bruce Snyder <[email protected]> > >> On Fri, Jun 12, 2009 at 7:11 AM, yinghe0101<[email protected]> wrote: >> > >> > hi, Gary, >> > >> > thank you for your reply. Could you please point out where in the code >> base, >> > this restraint apply. I need to take a look at that and consider your >> > recommendation improvement. >> >> This functionality resides in the >> DemandForwardingBridgeSupport.serviceRemoteConsumerAdvisory() method. >> >> Bruce >> -- >> perl -e 'print >> unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" >> );' >> >> ActiveMQ in Action: http://bit.ly/2je6cQ >> Blog: http://bruceblog.org/ >> Twitter: http://twitter.com/brucesnyder >> > > > > -- > http://blog.garytully.com > > Open Source Integration > http://fusesource.com > > -- View this message in context: http://www.nabble.com/Serious-dispatch-issue-tp23990060p24003521.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
