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

Unable to configure box component with configuration properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: camel-box
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: