Hi,

How can I remove invalid endpoints from a recipientList ?
If I use the route from(direct).doTry().recipientList(..).doCatch().....

Using the line exchange.getProperty(Exchange.FAILURE_ENDPOINT,
String.class);
will return me the 'direct' uri and not the failure recipient.
Like shown in this screenshot : http://postimage.org/image/d9azbpyfj/full/

The value "myURI" is the URI of the fakeEndpoint but it's hided in a
specific Exception, I don't want to manage every exception, only remove the
invalid endpoints.

I created a unit test there :
http://pastebin.com/fYTpU4BU

Using camel 2.10.2

Thanks for any hints!



--
View this message in context: 
http://camel.465427.n5.nabble.com/Removing-invalid-endpoints-from-recipientList-tp5723863.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to