On Tue, Sep 9, 2008 at 12:52 PM, Joe Fernandez <[EMAIL PROTECTED]> wrote: > > > mjoshi wrote: >> >> Thanks Joe. >> >> However, I have just one activemq.xml config file that gets published to >> both hosts. Is there a way to do it in the same configuration ? >> >> Yes, try using the multicast transport. That is what the default >> activemq.xml is typically set up to use.
I also suggest adding a brokerName attribute to the broker element for each instance of ActiveMQ. When you see logging on the console, it will be easier to tell the brokers apart and ActiveMQ uses the brokerName for tracking durable subscriptions, etc. Below is an example: <broker brokerName="myFooBroker" xmlns="http://activemq.apache.org/schema/core" useJmx="true"> ... Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache ActiveMQ - http://activemq.org/ Apache Camel - http://activemq.org/camel/ Apache ServiceMix - http://servicemix.org/ Blog: http://bruceblog.org/