Camel Quarkus 1.6 application does not load component configuration from application.properties
Issue
When running a Camel Quarkus application it does not apply the Camel component configuration from provided application.properties configuration file.
E.g. when using the camel-twitter component the route fails to start up with error
2021-10-21 11:28:11,754 ERROR [io.qua.run.Application] (Quarkus Main Thread) Failed to start application (with profile dev): java.lang.IllegalArgumentException: twitter or all of consumerKey, consumerSecret, accessToken, and accessTokenSecret must be set!
This happens even though these Twitter properties are all correctly specified in application.properties:
camel.component.twitter.consumer-key=1...
camel.component.twitter.consumer-secret=2...
camel.component.twitter.access-token=3...
camel.component.twitter.access-token-secret=4...
Environment
- Camel Quarkus TP release
- 1.6.0
- Quarkus 1.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.