Re: Problem from Java DSL to Spring DSL

2015-07-10 Thread MC
Thank you Claus. -- View this message in context: http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5769102.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem from Java DSL to Spring DSL

2015-07-09 Thread Claus Ibsen
headerName are not. > > Thanks in advance. > MC > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5769067.html > Sent from the Camel - Users mailing list archive at Nabble.com. --

Re: Problem from Java DSL to Spring DSL

2015-07-09 Thread MC
} ${enum:org.apache.camel.component.cxf.common.message.CxfConstants.DISPATCH_DEFAULT_OPERATION_NAMESPACE} Value is resolved, but expressions in headerName are not. Thanks in advance. MC -- View this message in context: http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5769067

Re: Problem from Java DSL to Spring DSL

2013-05-17 Thread Claus Ibsen
e().equalsIgnoreCase("Claus")){ > output.setCode("OK"); > } else { > output.setCode("Accepted"); > } > return output; > } > > That wo

Re: Problem from Java DSL to Spring DSL

2013-05-15 Thread Gary Liu
("OK"); } else { output.setCode("Accepted"); } return output; } That works. What have I missed? Thanks, --Gary -- View this message in context: http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5732613.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem from Java DSL to Spring DSL

2013-05-14 Thread Claus Ibsen
= >> >> Here are the things I did not translate propertly: >> >> .choice().when(simple("${body.givenName} == 'Claus'")) >> .transform(constant(ok)) >> >> NOT THE SAME AS: >> >> >> ${body.givenName} == 'Claus' >&g

Re: Problem from Java DSL to Spring DSL

2013-05-14 Thread Willem jiang
this message in context: > http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5732563.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).

Re: Problem from Java DSL to Spring DSL

2013-05-14 Thread Gary Liu
Thanks William! That works. Now, my transform part is still not working. Any sugguestions? -- View this message in context: http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5732563.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem from Java DSL to Spring DSL

2013-05-14 Thread Gary Liu
in context: http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5732562.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem from Java DSL to Spring DSL

2013-05-14 Thread Gary Liu
dent, not java.lang.String -- View this message in context: http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5732559.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem from Java DSL to Spring DSL

2013-05-14 Thread Willem jiang
Name} == 'Claus' > > "OK" > > > > > .setHeader(Exchange.FILE_NAME, > constant("request-${date:now:-MM-dd-HHmmssSSS}")) > > NOT THE SAME AS: > > > request-${date:now:-MM-dd-HHmmssSSS} > > Thanks, > --Gary > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).

Problem from Java DSL to Spring DSL

2013-05-14 Thread Gary Liu
.setHeader(Exchange.FILE_NAME, constant("request-${date:now:-MM-dd-HHmmssSSS}")) NOT THE SAME AS: request-${date:now:yyyy-MM-dd-HHmmssSSS} Thanks, --Gary -- View this message in context: http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: converting form JAVA DSL to Spring DSL

2011-11-22 Thread bvahdat
eclipse/ Babak -- View this message in context: http://camel.465427.n5.nabble.com/converting-form-JAVA-DSL-to-Spring-DSL-tp5011220p5012896.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: converting form JAVA DSL to Spring DSL

2011-11-21 Thread Taariq Levack
gmail.com] > Sent: Monday, November 21, 2011 11:05 PM > To: users@camel.apache.org > Subject: Re: converting form JAVA DSL to Spring DSL > > I'm using IntelliJ but Eclipse or any editor supporting xml with > schemas should be fine. > > Bilgin > > On Mon, Nov

RE: converting form JAVA DSL to Spring DSL

2011-11-21 Thread Omar Atia
Eclipse can't support XML , is there any maven plugin for IntelliJ as I'm downloading it now . -Original Message- From: Bilgin Ibryam [mailto:bibr...@gmail.com] Sent: Monday, November 21, 2011 11:05 PM To: users@camel.apache.org Subject: Re: converting form JAVA DSL to Sprin

Re: converting form JAVA DSL to Spring DSL

2011-11-21 Thread Bilgin Ibryam
ss...@hotmail.com] > Sent: Monday, November 21, 2011 10:39 PM > To: users@camel.apache.org > Subject: Re: converting form JAVA DSL to Spring DSL > > Thanks Bilgin. > > I'm not using IDE but will try using it. > > -- > View this message in context: > http:/

RE: converting form JAVA DSL to Spring DSL

2011-11-21 Thread Omar Atia
Is there any IDE different than Eclipse Plugin for apache camel ? -Original Message- From: newbiee [mailto:m_ess...@hotmail.com] Sent: Monday, November 21, 2011 10:39 PM To: users@camel.apache.org Subject: Re: converting form JAVA DSL to Spring DSL Thanks Bilgin. I'm not usin

Re: converting form JAVA DSL to Spring DSL

2011-11-21 Thread newbiee
Thanks Bilgin. I'm not using IDE but will try using it. -- View this message in context: http://camel.465427.n5.nabble.com/converting-form-JAVA-DSL-to-Spring-DSL-tp5011220p5011615.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: converting form JAVA DSL to Spring DSL

2011-11-21 Thread Bilgin Ibryam
DSL. > > Thanks > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/converting-form-JAVA-DSL-to-Spring-DSL-tp5011220p5011220.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

converting form JAVA DSL to Spring DSL

2011-11-21 Thread newbiee
;Current time is ${header.firedTime}") to Spring DSL. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/converting-form-JAVA-DSL-to-Spring-DSL-tp5011220p5011220.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: java DSL to spring DSL

2011-02-27 Thread Claus Ibsen
blueprint placeholders, so that would work out of the box. Even directly inside the routes. That of course requires you to use OSGi blueprint instead of spring-dm. > Jacob. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/java-DSL-to-spring-DSL-tp3400066p340

Re: java DSL to spring DSL

2011-02-27 Thread JacobS
available. Although it is more of an spring-dm question do you know how I can make spring wait for ConfigurationAdmin service to becomes available ? Jacob. -- View this message in context: http://camel.465427.n5.nabble.com/java-DSL-to-spring-DSL-tp3400066p3402192.html Sent from the Camel - Users

Re: java DSL to spring DSL

2011-02-27 Thread Claus Ibsen
processor by its spring id. In fact it should be available on the so you can set it there > 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 mailing list

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 -

Re: java DSL to spring DSL

2011-02-27 Thread Claus Ibsen
exhausted) > Jacob > > -- > View this message in context: > http://camel.465427.n5.nabble.com/java-DSL-to-spring-DSL-tp3400066p3401588.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen - FuseSource Email: cib...@

Re: java DSL to spring DSL

2011-02-26 Thread JacobS
How would camel know that the processor should be processed before a redelivery attempt ? Jacob -- View this message in context: http://camel.465427.n5.nabble.com/java-DSL-to-spring-DSL-tp3400066p3401588.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: java DSL to spring DSL

2011-02-25 Thread Claus Ibsen
code: > > from(EndPointHelper.getURI("ComponentXTopic") + "&selector=COMPID='" + > PropertiesProvider.GetCompId() + "'") // > ... > .onRedelivery(new RedeliveryProcessor())// > ... > .end(); > > Thanks > Jacob > --

java DSL to spring DSL

2011-02-25 Thread JacobS
hanks 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.