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.