[ 
https://issues.apache.org/jira/browse/CAMEL-22890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053681#comment-18053681
 ] 

Claus Ibsen commented on CAMEL-22890:
-------------------------------------

This is a little bit more tricky as by having the JAR on the classpath its auto 
enabled, unless you set it to false.

And jbang should therefore only check for classpath if enabled, otherwise it 
should not. But the general camel app without jbang should auto-detect if not 
set any option

> camel-jbang - include opentelemtry2 dependency if camel.opentelemetry2.enabled
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-22890
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22890
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Federico Mariani
>            Priority: Minor
>
> Improve camel-jbang to include _org.apache.camel:camel-opentelemtry2_ 
> dependency if the property camel.opentelemetry2.enabled is true.
> Evaluate if there are more dependencies that can be automatically added based 
> on properties (like camel-opentelemetry)



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

Reply via email to