You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2020/04/17 14:15:00 UTC
[jira] [Created] (CAMEL-14928) Unable to configure box component
with configuration properties
James Netherton created CAMEL-14928:
---------------------------------------
Summary: Unable to configure box component with configuration properties
Key: CAMEL-14928
URL: https://issues.apache.org/jira/browse/CAMEL-14928
Project: Camel
Issue Type: Bug
Components: camel-box
Affects Versions: 3.2.0
Reporter: James Netherton
If I set properties:
camel.component.box.authenticationType = STANDARD_AUTHENTICATION
camel.component.box.userName = user
camel.component.box.userPassword = password
camel.component.box.clientId = foo
camel.component.box.clientSecret = bar
I get exception:
Caused by: java.lang.IllegalArgumentException: Unable to connect, Box component configuration is missing
at org.apache.camel.component.box.BoxComponent.doStart(BoxComponent.java:92)
I wonder if [this|https://github.com/apache/camel/blob/master/components/camel-box/camel-box-component/src/main/java/org/apache/camel/component/box/BoxComponent.java#L89-L90] should call {{getConfiguration()}} instead of referencing the {{@Metadata}} annotated configuration field?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)