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.
Hi
No headerName is a string attribute and cannot be dynamic. You can use
a property placeholder though but its only resolved once during route
creation.
Currently its only the constants from Exchange that are supported such
as Exchange.FILE_NAME.
On Thu, Jul 9, 2015 at 8:02 PM, MC <2320...@gm
Hi Claus,
I replied to this question a couple of days ago with a similar question, but
I am not sure why it is not showing up. Thats why I posting it again. I
apologize if it is duplicate.
Is it possible to use a random Java Constant or enum in headerName of
in spring dsl. I tied with simple and
You need to create a OutputReportIncident as the response, you can do
this from xml with
And then in the Camel xml route, then refer to this bean as the body
ref:ok
On Wed, May 15, 2013 at 3:28 PM, Gary Liu wrote:
> Thanks Claus! The following code works.
>
>
Thanks Claus! The following code works.
request-${date:now:-MM-dd-HHmmssSSS}
I still don't understand how the following Java DSL works, i mean
"transform" part :
from("cxf:bean:reportIncident")
.co
On Wed, May 15, 2013 at 5:06 AM, Willem jiang wrote:
> Hi,
>
> I think you cannot use the constant of Exchange.FILE_NAME directly in the
> Spring DSL.
> You should use the String directly like this
Yes you can. The DSL has special support for that so it makes
converting from java <-> xml easier.
Hi,
Can you check if you put the camel-jaxb jar into your class path?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
http://jn
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.
OK. I got the set file name part work.
request-${date:now:-MM-dd-HHmmssSSS}
is equivalent as:
setHeader(Exchange.FILE_NAME,
constant("request-${date:now:-MM-dd-HHmmssSSS}"))
--
View this message in context:
h
When I test using soupUI with the following input:
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:rep="http://reportincident.example.camel.apache.org";>
111
2013-05-09
Claus
Muller
bla
bla
g...@vha.com
678-447
Hi,
I think you cannot use the constant of Exchange.FILE_NAME directly in the
Spring DSL.
You should use the String directly like this
request-${date:now:-MM-dd-HHmmssSSS}
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redha
11 matches
Mail list logo