apache / camel-quarkus

Apache Camel Quarkus
https://camel.apache.org
Apache License 2.0
255 stars 189 forks source link

Camel 4.4 - Allow to configure camel.variable.xxx #5620

Open davsclaus opened 9 months ago

davsclaus commented 9 months ago

Describe the feature here

Camel 4.4 introduced variables which can be configured from application.properties. https://issues.apache.org/jira/projects/CAMEL/issues/CAMEL-19749

However for Quarkus and Spring Boot then this requires to add code to support this

A SB example is at https://github.com/apache/camel-spring-boot-examples/tree/main/variables

And the commit in SB to support this is: https://github.com/apache/camel-spring-boot/commit/671e772eb2240ff0e4537f5e5d4330714cb73f24

JiriOndrusek commented 8 months ago

There are 3 parts of the solution:

  1. Code in the camel-quarkus main: which is already merged in the camel-main branch as a part of upgrade to Camel 4.4
  2. Basic test coverage: https://github.com/apache/camel-quarkus/pull/5654
  3. Example: https://github.com/apache/camel-quarkus-examples/pull/194