Hi

Sounds like you are talking about reliable messaging / clustering.
This is what Apache ActiveMQ provides much better.

For example if you take a look at Apache ServiceMix, which is an ESB,
then ActiveMQ is the "reliable messaging" backbone of this ESB. And
Camel is the integration "glue" that makes it easy to integrate with
different APIs and transports, and use a standard set of Enterprise
Integration Patterns (EIPs) to define your integration flows (aka
routes in Camel).

So if you combine Camel + ActiveMQ such as ServiceMix does, then you
can support this.

So if you have a cluster of SMX then you can have nodes crash and AMQ
ensures reliable messaging and failover / HA.

Though setting up AMQ to do that is non-trivial. With SMX that setup
is a manual process, and also static at first. Though you can have AMQ
rebalance when new nodes is being added etc. Setting up AMQ is
manageable when you have a lower number of nodes.


------------------
A side note

To help make this much easier when you have more and more nodes, and
if these nodes come and go, or having nodes running in the cloud, etc.
then there is some 3rd party projects that help makes this much
easier.

One of them is Fuse Fabric
http://fuse.fusesource.org/fabric/

Which is part of JBoss Fuse product.
http://www.jboss.org/jbossfuse

In the new release JBoss Fuse 6.1, you can setup broker topologies
much easier, which can be visualized in a web console etc. Some sneak
peeks what is coming can be read from James blog
http://macstrac.blogspot.co.uk/2013/10/a-sneak-peek-at-whats-coming-in-jboss.html

------------------






On Sat, Oct 19, 2013 at 4:38 PM, Pedro Martins
<[email protected]> wrote:
> I have recently started with Apache Camel so apologies if this questions is
> silly.
>
> I have 2 processes A and B, and each process has an endpoint E1 and E2
> respectively. Now let's imagine that I need to create a process C and that
> process B has to die. Can I migrate E2 to C and connect it through a route
> to E1 in process A?
>
> It is important to notice that A, B and C may be in different machines as
> well.
>
> I google for process migration in Camel, but all I found were articles
> referring to JBoss Fuse:
>
> - [Migrating Endpoints](
> https://access.redhat.com/site/documentation/en-US/JBoss_Fuse/6.0/html/Implementing_Enterprise_Integration_Patterns/files/Migrate-Endpoints.html
> )
>
> So, the question naturally arrives, is it even possible to do it with
> Apache Camel? If yes, how ? Can you provide some example or documentation?
>
> Thanks in advance.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to