camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gonzalo Vasquez <>
Subject Exec endpoint not working correctly with recipientList
Date Thu, 14 Aug 2014 16:18:50 GMT
Hi there!

Experimenting with the exec endpoint I found out that it works perfectly (setting CamelExecExitValue
header) when invoked with hardcoded args, such as:

<camel:to uri="exec:///opt/ibm/ondemand/V9.0/bin/arsload?args=-f -g FONDO -h
-u admin -p password /tmp/ID-MacBook-Pro-de-Gonzalo-Vasquez-local-64241-1408030173940-0-1"

But fails silently on setting headers (CamelExecExitValue not set, and blank body )when invoked
as a receipientList endpoint, with variable parameters such as:

                                exec://{{cmod.arsLoad}}?args=-f -g ${in.header.appGroup} -h
{{}} -u {{cmod.username}} -p {{cmod.password}} {{tmp.path}}/${id}</camel:simple>

I actually need to use the second approach as the arguments to my command are determined in

Am I doing something wrong or the recipientList actually removed the expected headers?

PS: This is derived from my previous post at


Gonzalo Vasquez
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message