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

Restlet Rest Component properties are ignored

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15.1
    • Fix Version/s: 2.15.2, 2.16.0
    • Component/s: camel-restlet, rest
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      Rest properties for RestletComponent are not picked up by the component because it's incorrectly looking for "restle" properties instead of "restlet".

              // configure component options
              RestConfiguration config = getCamelContext().getRestConfiguration();
              if (config != null && (config.getComponent() == null || config.getComponent().equals("restle"))) {
                  // configure additional options on spark configuration
                  if (config.getComponentProperties() != null && !config.getComponentProperties().isEmpty()) {
                      setProperties(this, config.getComponentProperties());
                  }
              }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                koscejev Anton Koscejev
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: