Re: Removing an Endpoint from a route

2012-10-16 Thread alerios
Hi, Using camel route reloading (REST API) looks like an option, but it stops the route in order to redefine the destinations, which looks like the service will stop processing messages for about 300ms if I change the route nodes in realtime: 2012-10-10 18:50:07,048 [ /routes/route1] INFO Defaul

Re: Removing an Endpoint from a route

2012-10-13 Thread Claus Ibsen
On Wed, Oct 10, 2012 at 10:22 PM, alerios wrote: > Hi Guru, thanks for your reply. > > > I think using the failover load balancer is not an option for me, since my > Bean will not throw an exception when it fails. I want to disable the > Endpoint when I want, based on health checks, for example.

Re: Removing an Endpoint from a route

2012-10-11 Thread Willem jiang
Yeah, it's not a good idea to remove the endpoint from the camel context. There are lots of place in camel can lookup or create a endpoint for send the message. It could be easier to wrap the bean to let it throw the exception when the bean is not ready to use. And then you can use the FailOverL

Re: Removing an Endpoint from a route

2012-10-10 Thread alerios
Hi Guru, thanks for your reply. I think using the failover load balancer is not an option for me, since my Bean will not throw an exception when it fails. I want to disable the Endpoint when I want, based on health checks, for example. Also, I would like to use the weigthed loadbalancer instead,

Re: Removing an Endpoint from a route

2012-10-10 Thread Claus Ibsen
On Wed, Oct 10, 2012 at 6:25 AM, Gnanaguru S wrote: > > Hi Alejandro, > > I dont have knowledge on the option which you are trying. > > But why not you add a ' Failover ' attribute to your load balancing > endpoint. It will skip the failed endpoint and Jump to the next available > endpoint. http:

Re: Removing an Endpoint from a route

2012-10-09 Thread Gnanaguru S
Hi Alejandro, I dont have knowledge on the option which you are trying. But why not you add a ' Failover ' attribute to your load balancing endpoint. It will skip the failed endpoint and Jump to the next available endpoint. http://camel.apache.org/load-balancer.html