2008/12/3 Claus Ibsen <[EMAIL PROTECTED]>:
> Hi
>
> Interesting use-case. Kinda like a failover transport for endpoints.
>
> I think you could impl. it with the loadbalancer, extending
> QueueLoadBalancer and override the process method where you will do
> - try .. catch exception
> - exchange.isFailed() (* might needed)
> to determine if there was an error with the exchange and then find the
> fallback processor and let it try it.
>
> I actually think this might be a good loadbalancer to have in
> camel-core. We just need to work on the configuration so you can set
> the designated target, and the failover. And maybe you have multiple
> failovers.
>
> Any thoughts from others?

Agreed - we should add some kind of FailoverLoadBalancer which could
filter errors/exceptions to determine if it should fail over to
another endpoint. (Not all errors/exceptions would be down to a WS
being down - it could be application errors and so forth).

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Reply via email to