You can enrich the message if its been processed or not. And then you
can check that header/headers if it was processed or not.

The filter EIP sets a property on the exchange if it was filtered or not.
http://camel.apache.org/message-filter



On Thu, May 3, 2012 at 3:12 PM, kenhans <kenha...@hotmail.co.uk> wrote:
> hello,
> we are using multicast to route messages to a number of endpoints. The
> endpoints contain filter method  method to decide if the enpoint is going to
> process the message or not. Is there a way to tell if no endpoints have
> processed the message? In that case, we would like to put the message in an
> "invalid message queue" or something similar. If there is no way doing this
> using multicast, are there any other best practices?
>
> Our mulitcast:
>
> multicast().parallelProcessing().timeout(10000).onPrepare(new
> DocumentDeepClone()).
> .filter().method(producer, "filter")
> .bean(producer, "createEvent")
> .to(EndPointUri.INCOMING_EVENT_QUEUE);
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/No-hit-during-Multicast-tp5683138.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to