Hi. I am trying to get the scripting languages working in a camel route like
this:
For Groovy:
<choice>
<when>
<groovy>true</groovy>
<to uri"file:/usr/local/jimmy/B"/>
</when>
<otherwise>
<to uri"file:/usr/local/jimmy/C"/>
</otherwise>
</choice>
For Python:
<choice>
<when>
<python>true</python>
<to uri"file:/usr/local/jimmy/B"/>
</when>
<otherwise>
<to uri"file:/usr/local/jimmy/C"/>
</otherwise>
</choice>
I have camel-groovy imported into Karaf and the groovy example works.
There is no camel-python to import, so I can't get the python example
working.
Claus has suggested that I "need to install some python osgi library"
Does anyone know which one?
I have tried camel-script, but it does nothing.
It seems to be just interfaces, no actual implementations.
Can someone take 15 minutes and try to get a python example working in
camel.
I don't think it can be done.
this:
For Groovy:
<choice>
<when>
<groovy>true</groovy>
<to uri"file:/usr/local/jimmy/B"/>
</when>
<otherwise>
<to uri"file:/usr/local/jimmy/C"/>
</otherwise>
</choice>
For Python:
<choice>
<when>
<python>true</python>
<to uri"file:/usr/local/jimmy/B"/>
</when>
<otherwise>
<to uri"file:/usr/local/jimmy/C"/>
</otherwise>
</choice>
I have camel-groovy imported into Karaf and the groovy example works.
There is no camel-python to import, so I can't get the python example
working.
Claus has suggested that I "need to install some python osgi library"
Does anyone know which one?
I have tried camel-script, but it does nothing.
It seems to be just interfaces, no actual implementations.
Can someone take 15 minutes and try to get a python example working in
camel.
I don't think it can be done.