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

Guillaume Nodet reassigned CAMEL-27985:
---------------------------------------

    Assignee:     (was: Guillaume Nodet)

> camel-main - options that have no effect, and the embedded server fails to 
> start with client-only SSL
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27985
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27985
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-main
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.25.0
>
>
> h4. 1. Embedded HTTP server fails to start when camel.ssl only configures a 
> trust store
> BaseMainSupport.setHttpServerProperties / setHttpManagementServerProperties 
> turn on useGlobalSslContextParameters whenever the CamelContext has 
> SSLContextParameters. With camel.ssl.enabled=true and only a trust store 
> (client side, no key managers), VertxHelper.setupSSLOptions sets ssl=true 
> without KeyCertOptions and Vert.x fails with "Key/certificate is mandatory 
> for SSL", so camel.server.enabled=true no longer starts. Proposed change: 
> only turn it on automatically when there are key managers.
> h4. 2. camel.ssl.secureRandomProvider without secureRandomAlgorithm: 
> NullPointerException
> createSSLContextParameters creates SecureRandomParameters when only the 
> provider is set; createSecureRandom then calls SecureRandom.getInstance(null, 
> provider). Proposed change: require the algorithm with a clear error, or skip 
> the SecureRandom when it is not set.
> h4. 3. producerTemplateCacheSize / consumerTemplateCacheSize have no effect 
> in Camel Main
> Nothing in camel-main reads them (DefaultConfigurationConfigurer, 
> BaseMainSupport). Possibly only Spring Boot does. Proposed change: apply them 
> in Main, or document them as Spring Boot only.
> h4. 4. logDebugMaxChars=0 (unlimited) cannot be set
> DefaultConfigurationConfigurer only puts the value in the global options when 
> != 0, while MessageHelper treats 0 as no limit. Proposed change: make the 
> option an Integer (null = not set).
> h4. 5. camel.opentelemetry2.instrumentationName and 
> camel.opentelemetry2.encoding have nothing to bind to
> The camel-opentelemetry2 OpenTelemetryTracer has no such properties (scope 
> name is fixed, JMS dash encoding is always on). With 
> autoConfigurationFailFast=true setting either fails startup with a 
> PropertyBindingException; otherwise it is ignored. Proposed change: 
> deprecate/remove them, or add them to the tracer.
> h4. 6. disableCoreProcessors of opentelemetry2 and telemetryDev is missing 
> from the catalog
> Otel2/TelemetryDevConfigurationProperties.setDisableCoreProcessors takes 
> Boolean while the field is boolean, so the generator skips the option 
> although it works. Also MainConfigurationProperties has no otel2(), 
> telemetryDev() or mdc() accessors, and 
> TelemetryDevConfigurationProperties.withTraceFromat is misspelled.
> h4. 7. Catalog metadata of some options is wrong
> dumpRoutes enums lack java (and json/png are matched case-sensitively). 
> camel.threadpool.rejectedPolicy lists DiscardOldest and Discard, but 
> ThreadPoolRejectedPolicy has Abort, CallerRuns, Block. 
> camel.threadpool.allowCoreThreadTimeOut has default false while the built-in 
> default profile uses true. camel.rest.hostNameResolver lacks none (the 
> generator hardcodes the enum).
> Found while checking the option and console descriptions of CAMEL-27980.
> ----
> _Filed by Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to