Hi Bjorn,

this is exactly what network of brokers are supposed to do. Note that broker
will forward a message to other broker only if there is a consumer for that
destination on the other broker. You can ensure that messages go only to the
next broker in the network, by setting networkTTL parameter to 1. You can
also exclude some destinations for a certain network connector and ensure
that messages are never forwarded. Take a look at
http://activemq.apache.org/networks-of-brokers.html for more detailed
examples.

Hope this helps
--
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Wed, Feb 4, 2009 at 2:24 PM, Bjørn T Johansen <b...@havleik.no> wrote:

> Not sure how to configure this or if it's even possible with ActiveMQ.
> The system we are want to use is as follows.:
>
> One central broker.
> X number of "client brokers", placed in different location (over WAN) but
> with contact to the central broker
>
> The clients connects to the "client brokers" and when they post a message
> to a "client broker" it should be forwarded to the central broker where
> someone should consume it. And when posting a message to the central
> broker, it should be forwarded to one of the "client brokers" (depending on
> which
> queue it's posted on), and a client can read it from the "client broker"
> I.e no messages should transfer from one "client broker" to another "client
> broker", all messages should just travel between the central broker and
> one of the "client brokers".
>
> The reason we want a configuration like this, is so messages can be posted
> even if the network between a client and the central broker is down..
>
> Did that make any sense? Is this possible?
> I have been looking at a network of brokers but as fas as I can see, this
> is more a load balancing configuration and that is not what we want...
>
>
> Regards,
>
> BTJ
>
> --
>
> -----------------------------------------------------------------------------------------------
> Bjørn T Johansen
>
> b...@havleik.no
>
> -----------------------------------------------------------------------------------------------
> Someone wrote:
> "I understand that if you play a Windows CD backwards you hear strange
> Satanic messages"
> To which someone replied:
> "It's even worse than that; play it forwards and it installs Windows"
>
> -----------------------------------------------------------------------------------------------
>

Reply via email to