Am trying to execute a PERL script from my route XML. I use the following syntax,
<to uri="exec:perl?args=/home/scripts/test.pl"/> But i don't see the script being executed. This is the log i see, 23:28:44,243 INFO [org.apache.camel.component.exec.ExecProducer] (Camel (camelAgent) thread #5 - JmsConsumer[ISEEOutboundQueue]) Executing ExecCommand [args=[/home/scripts/test.pl], executable=perl, timeout=9223372036854775807, outFile=null, workingDir=null, useStderrOnEmptyStdout=false] 23:28:44,327 INFO [org.apache.camel.component.exec.ExecProducer] (Camel (camelAgent) thread #5 - JmsConsumer[ISEEOutboundQueue]) The command ExecCommand [args=[/home/scripts/test.pl], executable=perl, timeout=9223372036854775807, outFile=null, workingDir=null, useStderrOnEmptyStdout=false] had exit value 0 This is the content of my PERL script, #!/usr/bin/perl print "Hello World\n"; Can anyone please let me know what am missing here? -- View this message in context: http://camel.465427.n5.nabble.com/Executing-PERL-script-in-Camel-route-tp5771521.html Sent from the Camel - Users mailing list archive at Nabble.com.