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.

Reply via email to