camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: java DSL to spring DSL
Date Sat, 26 Feb 2011 06:50:00 GMT
Hi

So where is your problem with the XML DSL?

For the onRedelivery you must use define the RedeliveryProcessor as a bean
<bean id="xxx" class="xxx"/>
And then refer to xxx.




On Fri, Feb 25, 2011 at 2:06 PM, JacobS <jacobhameiri@gmail.com> wrote:
>
> Hi
> I need some help converting some java DSL code to spring DSL
>
> java code:
>
> from(EndPointHelper.getURI("ComponentXTopic") + "&selector=COMPID='" +
> PropertiesProvider.GetCompId() + "'") //
> ...
> .onRedelivery(new RedeliveryProcessor())//
> ...
> .end();
>
> Thanks
> Jacob
> --
> View this message in context: http://camel.465427.n5.nabble.com/java-DSL-to-spring-DSL-tp3400066p3400066.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message