[
https://issues.apache.org/jira/browse/CAMEL-8259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284420#comment-14284420
]
Henryk Konsek commented on CAMEL-8259:
--------------------------------------
Resolved in 0511f48cb8d5a3744a8fe00b74efc0dc83196270.
I created the following interface:
{code}
public interface GroovyShellFactory {
GroovyShell createGroovyShell(Exchange exchange);
}
{code}
If Groovy expression finds {{GroovyShellFactory}} instance in the registry, it
will use it to create Groovy shell.
> [Groovy] Add SPI hook to support customized creation of the GroovyShell
> -----------------------------------------------------------------------
>
> Key: CAMEL-8259
> URL: https://issues.apache.org/jira/browse/CAMEL-8259
> Project: Camel
> Issue Type: Improvement
> Components: camel-groovy
> Reporter: Henryk Konsek
> Assignee: Henryk Konsek
> Fix For: 2.15.0
>
>
> We should provide SPI interface for users who would like to provide the
> pre-configured {{GroovyShell}} instance for Groovy expressions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)