camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Cox <crankydi...@gmail.com>
Subject Re: Exception handling: Processor and Spring DSL
Date Fri, 03 Feb 2012 16:56:24 GMT
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.vahdat@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.

Mime
View raw message