This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit 453eac591096dbe0a4fb6e6d72087cde35507b3d Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Nov 21 09:55:32 2023 +0100 CAMEL-20134: camel-joor - Allow to compile scrip with classloader from Camel --- core/camel-spring-boot/src/main/docs/spring-boot.json | 6 ++++++ .../org/apache/camel/spring/boot/CamelConfigurationProperties.java | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/core/camel-spring-boot/src/main/docs/spring-boot.json b/core/camel-spring-boot/src/main/docs/spring-boot.json index 14196e6888a..0db136bc244 100644 --- a/core/camel-spring-boot/src/main/docs/spring-boot.json +++ b/core/camel-spring-boot/src/main/docs/spring-boot.json @@ -654,6 +654,12 @@ "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties", "defaultValue": true }, + { + "name": "camel.springboot.compile-work-dir", + "type": "java.lang.String", + "description": "Work directory for compiler. Can be used to write compiled classes or other resources.", + "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties" + }, { "name": "camel.springboot.consumer-template-cache-size", "type": "java.lang.Integer", diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java index eeee8d7e791..55840c51ccc 100644 --- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java +++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java @@ -159,6 +159,11 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties */ private boolean loadHealthChecks; + /** + * Work directory for compiler. Can be used to write compiled classes or other resources. + */ + private String compileWorkDir; + /** * Directory to load additional configuration files that contains * configuration values that takes precedence over any other configuration.