activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toff <giovanni.toffe...@gmail.com>
Subject Re: Cyclic network of brokers: configuration and duplicates
Date Thu, 24 Apr 2008 20:26:00 GMT

Found the solution:

ISSUE 1509

http://issues.apache.org/activemq/browse/AMQ-1509

Supposedly fixed in 5.1.0, although with 5.1.0 RC4 I can still reproduce it.

---------------

g


toff wrote:
> 
> Thank you Joe,
> 
> I just ran a test configuring servers (e.g. S1) with network connector:
> 
> <networkConnector name="S1NC" dynamicOnly="true" networkTTL="15"
> uri="static://(tcp://node34:17702,tcp://node35:17703)"/>
> 
> The results still show massive message duplication as clients receive the
> same message multiple times.
> I think the (correct) behavior described in
> http://www.nabble.com/Network-of-Brokers-configuration-limitation--td11639335s2354.html#a11639335
> is due to the default TTL (set to 1).
> 
> My question is still whether cyclic topologies are supported and how to
> avoid message duplication. Is there something I am not getting?
> 
> Thank you again for your time,
> 
> Gio
> 
> 
> 
> 
> ttmdev wrote:
>> 
>> A static connector, having multiple IP addresses, will force the broker
>> to connect to *all* the brokers whose IP addresses are listed in the
>> connector. 
>> 
>> It is the client failover connector that, by default, randomly chooses
>> one of the listed IP addresses/brokers (i.e., is more than one is
>> provided). For example,
>> 
>> failover:(tcp://localhost:61616,tcp://remotehost:61616)
>> 
>> Joe
>> Goto www.ttmsolutions.com for a free ActiveMQ user guide
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Cyclic-network-of-brokers%3A-configuration-and-duplicates-tp16834569s2354p16852442.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message