How can aggregationStrategy help me if the fake endpoint never get to create
an Exchange ?
Here is the test I did : http://pastebin.com/ZTJzxS64

My fake endpoint will fail because it will return null as a producer
(FailedToCreateProducerException).

That is probably too heavy of an error. What I want is to be able to remove
unused (or in error) endpoints from the recipientList. Is there a way to
know if the endpoints still have active consumers attached to them ?


In the final project, we have an OSGI bundle that manage a route with it's
camelContext and send a message to the recipient list, and then we can have
other OSGI bundles that use an exported service from the first project to
give their personal Endpoint to be added in the recipientList.

I had like that the first project can stay alive without building an endless
list of useless endpoints, when the other project fails.



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

Reply via email to