Your requirements sound similar to havign a cluster of two webservers
which is quite common.
Mina directly listens on a port. So you need an additional loadbalancer
in front of the two servers that forwards the requests to them.
I suggest to use one of the proven hardware solutions for this.
Another solution would be to use a unix cluster software. In that case
the Active Server would listen to the cluster ip address and in the
failover case the passive server would activate and take over this ip
address.
I think Camel has no built in mechanism that could handle this alone. If
used with one of the above solutions you probably do not have to do
anything special in camel.
Christian
Am 04.11.2011 11:08, schrieb Omar Atia:
Dear Christian,
I'm using apache camel 2.8.0 .
The following scenario , I'm handling synchronous responses for provisioning
server Inout.
These interfaces are TCP server MINA , the receive requests and calls web
service using CXF and POJO format .
4 MINA routes will be up when running mvn camel:run .
Can we put apache camel on two servers and handle the requests between them ?
and also how to Add enough memory as I have 32 concurrent connection to apache
MINA as well.
I believe below you mean using apache activemq with high availability solution
so I have explained to you the main integration above ? what is your
recommendation ?
Thanks,
Omar
-----Original Message-----
From: Christian Schneider [mailto:cschneider...@googlemail.com] On Behalf Of
Christian Schneider
Sent: Friday, November 04, 2011 11:53 AM
To: users@camel.apache.org
Subject: Re: Fuse Apache Camel High Availability ...
Hi Omar,
what is Fuse Apache Camel? Do you mean Apache Camel or the Fuse Distro?
I can sure help with Apache Camel.
There is no general solution for High Availability but many best
practices. It depends a lot on what your requirements are. Generally
JMS offers good HA features.
For example you can have two consumers on a route that load balance.
It is also important if your messages have to be kept in sequence or
not. Can you describe how your integration looks like?
Christian
Am 04.11.2011 09:59, schrieb Omar Atia:
Dears,
I would like to investigate on high availability based on Fuse Apache Camel
2.8.0 , CXF and Spring , it is already deployed on one Unix machine and I'm
planning to deploy it 2nd Unix machine and need to configure another server to
design high available solution , what is your recommendation for that ?
Thanks,
Omar Atia
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com