camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Python in camel classpath
Date Wed, 23 Jan 2013 15:48:08 GMT
On Wed, Jan 23, 2013 at 2:11 PM, crina <arsenie.crina@gmail.com> 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: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message