Hi,
in case of multiple interconnected brokers you need to use
"suppressDuplicateTopicSubscriptions"
attribute (see for more info
http://activemq.apache.org/networks-of-brokers.html). Also "priority network
dispatch policy" should be used as explained here
https://issues.apache.org/jira/browse/AMQ-2753. We need to document this use
case better.
Regards
--
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Sun, Aug 21, 2011 at 9:27 PM, David Fischer(Gtalk) <fischer.d.r@gmail.com
> wrote:
> All,
>
> I have been testing the spoke hub model and i have yet to be able to
> get a setup that does not duplicate messages if network TTL is greater
> than 1. Does anyone have any insight into Topics and network of
> brokers???
>
> Thanks
>
>
> On Thu, Aug 4, 2011 at 11:53 AM, David Fischer(Gtalk)
> <fischer.d.r@gmail.com> wrote:
> > All,
> >
> > I currently for a network of brokers setup and running with queues
> > fine. The problem that i am running into is the following:
> >
> > brokerA <=> brokerB <=> brokerC
> >
> > if i create a topic pub on brokerA i cannot see the messages on
> > brokerC with out adding networkTLL > 1. If i do this then as i add
> > more subscribers i start to get duplicates.
> >
> > my network connector is as follows:
> > <networkConnectors>
> > <networkConnector uri="static://( hostsremovedtoprotect)"
> > dynamicOnly="true" name="InterTopicconnect" >
> > <dynamicallyIncludedDestinations>
> > <topic physicalName="Services.>"/>
> > </dynamicallyIncludedDestinations>
> > </networkConnector>
> > <networkConnector uri="static://(hostsremovedtoprotect )"
> > conduitSubscriptions="false"
> > suppressDuplicateQueueSubscriptions="true" networkTTL="4"
> > name="InterQueueconnect" >
> > <dynamicallyIncludedDestinations>
> > <queue physicalName="test"/>
> > </dynamicallyIncludedDestinations>
> > </networkConnector>
> > <networkConnectors>
> >
> > Does any one has any suggestions?
> >
>
|