So, are A, B, C brokers on three separate JVM's and looks like (from your description) that their producers are local on the same machine? By "instances", you do mean brokers, right?
With this 3 broker config, what use case are you trying to solve by routing message from A to B or C? Like you said, if P is local to A, it is wasteful for it to publish to B or C. Also, are your brokers geographically separated and remote from each other? On Sep 21, 2012, at 0:12, madhavb <bhamidipatimad...@gmail.com> wrote: > Gaurav, > > What I mean here is I have 3 instances of activeMQs at location A, B and C > respectively, I have a producer bean 'P' in location A which locally places > the messages in AMQ instance @A, locally because I relieve(lessen) the > headache of connection maintenance and probability of message loss in 'P' if > I were to connect to AMQ instances B or C remotely. > > regards, > Madhav > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Routing-in-ActiveMQ-in-distributed-environment-tp4656754p4656790.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.