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.
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.
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
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
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:/
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
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.
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.
>
;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.
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
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
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
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 -
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...@
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.
code:
>
> from(EndPointHelper.getURI("ComponentXTopic") + "&selector=COMPID='" +
> PropertiesProvider.GetCompId() + "'") //
> ...
> .onRedelivery(new RedeliveryProcessor())//
> ...
> .end();
>
> Thanks
> Jacob
> --
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.
28 matches
Mail list logo