A changed all the to-uri pairs to process-ref pairs.  The behaviour
appears to be the same.

On Fri, Feb 3, 2012 at 10:46 AM, Babak Vahdat
<babak.vah...@swissonline.ch> wrote:
> Hi
>
> a xyzProcessor can't be referenced as a URI inside a Route because as the
> name already says it a Processor. So that changing those:
>
> <camel:to  uri="xyzProcessor"/>
>
> to:
>
> <camel:process ref="xyzProcessor"/>
>
> should help.
>
> And as you make use of XML-DSL that processor should have been already
> declared beforehand like:
>
> <bean id="xyzProcessor" class="com.foo.processor.xyzProcessor"/>
>
> Babak
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Exception-handling-Processor-and-Spring-DSL-tp5454311p5454409.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to