Hi

Can you be a bit more precise what the problem is? Its not totally
clear from the code snippets and your description.

And what version of Camel are you using?

On Tue, Sep 20, 2011 at 6:23 AM, xiangqiuzhao <[email protected]> wrote:
> Producer producer = endpoint.createProducer();
> producer.process(exchange); //throw an Exception
>
> return (Map&lt;String, Object&gt;)exchange.getOut().getBody(); //why run to
> here?
>
> my route defined
> from("direct://test").process(ProcesssA).to("myComponent://").process(ProcessB);
>
> if my ProcessA throw an Exception, but why it continue to call myComponent
> and processB.
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/why-my-Processor-throw-Exception-but-producer-can-t-throw-it-tp4821356p4821356.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
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