Hi

I am not sure people can follow what your problem is?

If you want error handling then read about Camel error handling, and
the links from this page
http://camel.apache.org/error-handling-in-camel.html

And there is also a failover load balancer
http://camel.apache.org/load-balancer.html

See if those links help you a bit.
And then come back later if you still have some questions.


On Thu, May 10, 2012 at 5:09 PM, Rocco Gallo Citera
<gallociter...@gmail.com> wrote:
> Hello, sorry to bother but I have a problem understanding how load
> balancing works with some endpoints.
> Basically, I have the following route in a client:
> from(timer endpoint)
> .loadbalance().roundrobin() (with other types of load balancing the
> problem is similar)
> .to(http endpoint 1, http endpoint 2)
> .end;
>
> from(http endpoint) // both endpoints have the same behavior
> .to(file endpoint)
>
> In the server, I have
> from(jetty endpoint).
> .process(my process)
> .to(hazelcast endpoint)
>
> If I don't use the load balance, the example works great, but with it,
> any onException are not caught (I can see them on a logging console).
> If I use a TCPMon in between the client and the server, I see a
> continuous flow with a connection switch every time the starting timer
> triggers, but I expected the timer to start the exchange and write now
> it just switch connection, so I don't understand why. I tried to find
> any documentation about that but none was found. Can anyone please
> help me to understand why this behavior happens? I'm using Camel
> 2.9.2.
>
> Thank you very much.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to