This content has been marked as final.
Show 4 replies
-
1. Re: How to enable groovy function in Java DSL ?
fbolton Oct 28, 2011 3:57 AM (in response to labo32_delaboe)Groovy is actually in the camel-groovy artifact, not camel-script. You also need to add the following static import to your Java source:
import static org.apache.camel.language.groovy.GroovyLanguage.groovy;
The docs will need to be corrected.
-
2. Re: How to enable groovy function in Java DSL ?
labo32_delaboe Oct 28, 2011 4:45 AM (in response to fbolton)That's it !
Thanks a lot
labo
-
3. Re: How to enable groovy function in Java DSL ?
fbolton Oct 28, 2011 4:55 AM (in response to labo32_delaboe)Actually, camel-script and camel-groovy both support the Groovy language. But the static method, groovy(), that you want to use seems to be defined only in the camel-groovy component.
-
4. Re: How to enable groovy function in Java DSL ?
labo32_delaboe Oct 28, 2011 9:49 AM (in response to fbolton)Thanks for the information. The documentation ist not really clear.