You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/07/18 12:09:00 UTC

[jira] [Resolved] (CAMEL-22214) camel-groovy - Allow to pre-load groovy source files for shared functions and DTOs

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

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

> camel-groovy - Allow to pre-load groovy source files for shared functions and DTOs
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-22214
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22214
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-groovy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.14.0
>
>
> We can call groovy from the DSL as an expression language.
> But you may want to have small functions and DTO classes and whatnot as part of reusable in the classpath. 
> So we should look at have some kind of camel.language.groovy.preload=foo.groovy,shared/*.groovy
> where you can use file globs to refer which files should be loaded and compiled on startup and added to the classpath.
> This is valuable for low-code and camel-jbang style of work.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)