On Mon, Mar 1, 2010 at 5:35 PM, anandsk <[email protected]> wrote:
>
> Hi,
>
> I have to connect to external tcp server. I can have only one client
> connection at a time and I need to send and receive messages asynchronously.
> I have list of IP addresses I can connect to but can use only one at a time.
> is there an easy way to rotate IP addresses on Apache Mina endpoint on
> message send failure or any connection exceptions. is there any sample code
> for this and any pointers would be fine.
> I have already read the Mina component documentation in Camel. I have to use
> codecs also.
>

You can use the loadbalancer EIP
http://camel.apache.org/load-balancer.html


> Thanks,
> Anand
> --
> View this message in context: 
> http://old.nabble.com/Mina-IP-rotation-on-client-side-tp27745798p27745798.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to