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.
That's it !
Thanks a lot
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.
Thanks for the information. The documentation ist not really clear.