Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.19.0
-
None
-
None
-
Unknown
Description
Since the last release (3.19.0) Camel supports Python experimentally. That's great.
I like to test it out, here are some things I noticed.
1) In IntelliJ it doesn't seem to recognize "python" in the Java DSL yet (is it part of the DSL model?) For example:
.choice() .when(python("myexpression")).to("mock:endpoint")
or
.setBody().python("myexpresson")
isn't allowed. Other languages are recognized and Intellij points to 3.19.0.
2) Examples
Would be nice if some examples were added to the documentation:
https://camel.apache.org/components/next/languages/python-language.html
For me, and I think for most users, it's hard to find out how to use it.
3) Version
It's unclear what Python version is used. It's based on Jython. The latest version of Jython is 2.7.3. Does that mean Python 2.x is used, or can we use Python 3 syntax?
4) Jira
The component "camel-python" is not selectable.
BTW: Another minor thing I noticed (not specifically related to Python) is that version 3.19.0 is at the moment not available as select on the documentation page. So I could only see the python documentation in 'next'.