Re: java DSL to spring DSL

2011-02-27 Thread Claus Ibsen
On Sun, Feb 27, 2011 at 2:06 PM, JacobS wrote: > Thanks, I will try the onRedeliveryRef. > > About the Properties component. I am using spring-dm and I am constantly > getting an exception when camel tries to build the route because it cannot > find the properties, I think it is because I am using

Re: java DSL to spring DSL

2011-02-27 Thread JacobS
Thanks, I will try the onRedeliveryRef. About the Properties component. I am using spring-dm and I am constantly getting an exception when camel tries to build the route because it cannot find the properties, I think it is because I am using osgi and the ConfigurationAdmin service is not yet avail

Re: java DSL to spring DSL

2011-02-27 Thread Claus Ibsen
On Sun, Feb 27, 2011 at 10:40 AM, JacobS wrote: > Thanks for you reply, > > a. I will try out the property placeholders > > b. I didn't see an onRedelivery tag, how do I use onRedelivery in xml ? > Check the XML Schema. There is a onRedeliveryRef attribute to refer to the processor by its spring

Re: java DSL to spring DSL

2011-02-27 Thread JacobS
Thanks for you reply, a. I will try out the property placeholders b. I didn't see an onRedelivery tag, how do I use onRedelivery in xml ? Thanks Jacob -- View this message in context: http://camel.465427.n5.nabble.com/java-DSL-to-spring-DSL-tp3400066p3402066.html Sent from the Camel - Users

Re: java DSL to spring DSL

2011-02-27 Thread Claus Ibsen
Hi On Sat, Feb 26, 2011 at 6:41 PM, JacobS wrote: > Hi Claus, thanks for your help. > > My question is very basic ( I am new to spring ) > >> from(EndPointHelper.getURI("ComponentXTopic") + "&selector=COMPID='" + >> PropertiesProvider.GetCompId() + "'") // > > a. How do I create the xml's  "http:

Re: java DSL to spring DSL

2011-02-26 Thread JacobS
Hi Claus, thanks for your help. My question is very basic ( I am new to spring ) > from(EndPointHelper.getURI("ComponentXTopic") + "&selector=COMPID='" + > PropertiesProvider.GetCompId() + "'") // a. How do I create the xml's " How would camel know that the processor should be processed befo

Re: java DSL to spring DSL

2011-02-25 Thread Claus Ibsen
Hi So where is your problem with the XML DSL? For the onRedelivery you must use define the RedeliveryProcessor as a bean And then refer to xxx. On Fri, Feb 25, 2011 at 2:06 PM, JacobS wrote: > > Hi > I need some help converting some java DSL code to spring DSL > > java code: > > from(EndPoi