You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/05/05 08:48:00 UTC
[jira] [Commented] (CAMEL-14928) Unable to configure box component
with configuration properties
[ https://issues.apache.org/jira/browse/CAMEL-14928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17099672#comment-17099672 ]
Claus Ibsen commented on CAMEL-14928:
-------------------------------------
Yeah that was wrong, fixing
> 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
> Priority: Minor
> Fix For: 3.3.0
>
>
> 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)