On Wed, Jan 23, 2013 at 2:11 PM, crina <[email protected]> wrote: > Hello, > > I managed to do a <to uri="language:python:classpath:file.py" /> in a > spring xml route > But can I execute a python script which is not on the classpath? (imagine > users will configure files and that i will dynamically create my camel > routes using their python files) > Thank you > Crina >
Yeah See the section loading scripts from resources http://camel.apache.org/language There is a file: prefix for file based. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Python-in-camel-classpath-tp5726058.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
