You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2026/10/12 09:21:38 UTC
[PR] Fix quarkus.camel.cli.enabled=false not disabling the CLI connector [camel-quarkus]
jamesnetherton opened a new pull request, #9312:
URL: https://github.com/apache/camel-quarkus/pull/9312
Fixes #9311.
With `quarkus.camel.cli.enabled=false` the extension registers no `CliConnectorFactory`, so Camel fell back to discovering its default (enabled) factory from `META-INF/services/org/apache/camel/cli-connector-factory`.
The service is now excluded from discovery. The exclusion is unconditional, since when the connector is enabled the factory is provided by the extension.
`CliConnectorDisabledTest` previously only checked the registry, so it passed despite the bug. It now also asserts that the `CamelContext` has no `CliConnectorFactory` plugin and no `CliConnector` service.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix quarkus.camel.cli.enabled=false not disabling the CLI connector [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton merged PR #9312:
URL: https://github.com/apache/camel-quarkus/pull/9312
--
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-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org