Hi See the documentation of the eip http://camel.apache.org/recipient-list.html
There is an option ignoreInvalidEndpoints On Tue, Dec 11, 2012 at 8:00 PM, lleclerc <llecl...@aim-rg.com> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen