Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14928

Unable to configure box component with configuration properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • camel-box
    • None
    • Unknown

    Description

      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 should call getConfiguration() instead of referencing the @Metadata annotated configuration field?

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jamesnetherton James Netherton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: