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.
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.
--
}
${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
e().equalsIgnoreCase("Claus")){
> output.setCode("OK");
> } else {
> output.setCode("Accepted");
> }
> return output;
> }
>
> That wo
("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.
=
>>
>> 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
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).
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.
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.
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.
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).
.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.
12 matches
Mail list logo