essobedo opened a new pull request, #4428:
URL: https://github.com/apache/camel-quarkus/pull/4428

   fixes #4426 
   
   ## Motivation
   
   So far we can only use CSimple expressions with the Java DSL and the XML 
DSL, the idea of this task is to propose a more generic approach in order to 
support all the existing DSL.
   
   ## Modifications:
   
   * Add the new extension `support-language` that does a dry run to collect 
all the expressions and produces `ExpressionBuildItem`
   * Rewrite the way the CSimple expressions are extracted to leverage the 
result of the expression extractor
   * Deprecate `CSimpleConfig` in favor of `ExpressionConfig`
   * Add a Yaml file to the CSimple integration test to show that it also works 
with the Yaml DSL 
   * Update the documentation about the limitations
   
   ## Result
   
   The CSimple expressions can now be used with all DSLs, the only drawback 
with this new approach is the fact that it adds some log entries of type:
   ```
   2023-01-19 16:36:31,779 INFO  [org.apa.cam.mai.MainSupport] (build-10) 
Expression Extractor 3.20.1 is starting
   2023-01-19 16:36:32,214 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] 
(build-10) Apache Camel 3.20.1 (Expression Extractor) is starting
   2023-01-19 16:36:32,216 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] 
(build-10) Routes startup (started:0)
   2023-01-19 16:36:32,217 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] 
(build-10) Apache Camel 3.20.1 (Expression Extractor) started in 128ms 
(build:22ms init:104ms start:2ms)
   2023-01-19 16:36:32,218 INFO  [org.apa.cam.mai.MainSupport] (build-10) 
Waiting until complete: Duration max 1 seconds
   2023-01-19 16:36:33,223 INFO  [org.apa.cam.mai.MainSupport] (build-10) 
Duration max seconds triggering shutdown of the JVM
   2023-01-19 16:36:33,223 INFO  [org.apa.cam.mai.MainSupport] (build-10) 
Expression Extractor 3.20.1 shutdown
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to