activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jzhang <jzh...@wellington.com>
Subject Re: Network of brokers dynamic discovery and directional question
Date Tue, 10 Aug 2010 21:38:40 GMT

What would be a proper broker uri from client code (producer and consumer) to
send and receive messages to and from the network of brokers? I can see lots
of client example code that use static discovery. I would like to know the
multicast example.

-J


Gary Tully wrote:
> 
> A network connector is a "demand forwarding bridge" so it is one way
> by default, unless it is configured duplex=true, in which case, the
> initial forwarding connection is used to create another bridge in the
> opposite direction, reusing the connection. With multicast discovery,
> the same config can result in a one way bridge to every discovered
> broker.
> 
> The description "demand forwarding bridge" explained; demand, based on
> the consumer advisories coming from the target, and forwarding,
> meaning locally created consumers created by the bridge forward their
> messages to the target.
> 
> On 6 August 2010 22:58, jzhang <jzhang@wellington.com> wrote:
>>
>> When configuring network of brokers using dynamic discovery such as
>> multicast, does that mean the directional is 'duplex' by nature or still
>> one-way? The thing is that the networkConnector will only have multicast
>> address and not other brokers:
>>
>>  <networkConnectors>
>>            <networkConnector name="bridge"
>> uri="multicast://default?group=MyGroup" />
>>  </networkConnectors>
>>
>> Am I mssing anything here?
>>
>> -J
>> --
>> View this message in context:
>> http://old.nabble.com/Network-of-brokers-dynamic-discovery-and-directional-question-tp29356912p29356912.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> http://blog.garytully.com
> 
> Open Source Integration
> http://fusesource.com
> 
> 

-- 
View this message in context: http://old.nabble.com/Network-of-brokers-dynamic-discovery-and-directional-question-tp29356912p29402604.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message