Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.11 KB

README.adoc

File metadata and controls

36 lines (23 loc) · 1.11 KB

Camel Example Compiled Simple using jooR compiler

This example shows using csimple (compiled simple) scripting language in your Camel routes.

When Camel bootstrap then each csimple scripts is compiled using the JVM compiler via the jOOR compiler library. The compilation happens once during startup.

This makes the csimple language native Java compiled, with no runtime overhead. The generated source code are in memory only and compiled at runtime. This means debugging the generated source code is not possible. See the other csimple example which uses a Maven plugin to detect csimple scripts from the source code, to generate Java source code at build time; which can be debugged.

Build

You will need to compile this example first:

$ mvn compile

Run

To run the example execute

$ mvn camel:run

Help and contributions

If you hit any problem using Camel or have some feedback, then please let us know.

We also love contributors, so get involved :-)

The Camel riders!