You need to pass a discovery broker URI to the ConnectionFactory:

http://activemq.apache.org/discovery-transport-reference.html

On Fri, Sep 16, 2011 at 9:06 AM, Muhammad Ichsan <ich...@gmail.com> wrote:

> I set up many ActiveMQ brokers using this:
>
> <transportConnector uri="tcp://localhost:0"
> discoveryUri="multicast://default"/>
>
> How to configure Camel to connect to the cluster? Because ports the
> brokers listen to is vary (not fixed). I'm new to clustering.
>
> Thanks
>
> --
> ~The best men are men who benefit to others
> http://michsan.web.id 一緒に勉強しましょう!
>
> Yang berkualitas memang beda rasanya!
> http://rizqi-cookies.com
>



-- 
Cheers,
Jon
---------------
FuseSource
Email: j...@fusesource.com
Web: fusesource.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen

Reply via email to