[ 
https://issues.apache.org/jira/browse/CAMEL-15704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-15704.
---------------------------------
    Resolution: Fixed

> camel-core - Compiled simple language
> -------------------------------------
>
>                 Key: CAMEL-15704
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15704
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.7.0
>
>
> Lets look at if we can provide an alternative to simple language that gets 
> compiled during initialization of Camel. However for compilation then the 
> csimple would need to have type information when using OGNL method calls as 
> simple is dynamic and uses _duck typing_.
> The camel-joor should be more focused on pure Java code script and not a new 
> simple language. jOOR also have some limitations such as cant run with 
> fat-jar style for Spring Boot. Also it wont work on native compiled and it 
> uses a reflective method call to call the joor script.
> For csimple we can look at
> - byte buddy
> - java assist
> - scan source code via a maven plugin and detect simple language (we do this 
> for the camel-route-parser) and then source code generate in src/generated 
> which then gets compiled with the regular compiler. And then those code can 
> be loaded the same way we do with configurers etc which means no reflection.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to