And there is a camel-exec to execute a command, for example to call the phyton script. http://camel.apache.org/exec
On Wed, Dec 12, 2012 at 8:18 AM, Willem jiang <willem.ji...@gmail.com> wrote: > Hi, > > You can use camel-timer or camel-direct endpoint to trigger the script. > I just want ask what your plan to start the route which will call the script? > > > -- > 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://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) > Twitter: willemjiang > Weibo: 姜宁willem > > > > > > On Wednesday, December 12, 2012 at 2:06 PM, neilac333 wrote: > >> I would like to trigger a Python script that generates a file as output. I >> would then like this file to be processed along the rest of the route. >> >> I have been unable to find documentation on how to create a Python script >> endpoint at the beginning of the route and then the file endpoint waiting >> for the script result. I have the rest of the route working as desired. >> >> Any help with this is appreciated. >> >> Thanks. >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Python-Script-Producing-a-File-tp5723933.html >> Sent from the Camel - Users mailing list archive at Nabble.com >> (http://Nabble.com). > > > -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen