camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Roger <>
Subject [Camel-Exec] Properties and Header values in URI ?
Date Tue, 13 Jul 2010 13:42:55 GMT


Is it possible to use values that have been set in the header (setHeader) or
in a property (setProperty) to changes the arguments given to the Camel-exec
component ?
Here under is an example of what I have in mind:

	<from uri="direct:test" />

	<setHeader headerName="Arguments"><constant>ok 123</constant></setHeader>

	<to uri="exec:perl? ${property.InputFile}
${in.headers.Arguments}$&amp;workingDir=target\classes" />
	<log message="Executing Perl" loggingLevel="INFO" logName="myLog"/>

	<to ref="out" />

Thank in advance,

View this message in context:
Sent from the Camel - Users (activemq) mailing list archive at

View raw message