camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Liu <Gary.Liu1...@gmail.com>
Subject Re: Problem from Java DSL to Spring DSL
Date Wed, 15 May 2013 03:08:21 GMT
OK. I got the set file name part work.

			<camel:setHeader headerName="CamelFileName">
			
<camel:constant>request-${date:now:yyyy-MM-dd-HHmmssSSS}</camel:constant>
			</camel:setHeader>

is equivalent as:

setHeader(Exchange.FILE_NAME,
constant("request-${date:now:yyyy-MM-dd-HHmmssSSS}"))




--
View this message 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.

Mime
View raw message