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

Restlet Rest Component properties are ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.1
    • 2.15.2, 2.16.0
    • camel-restlet, rest
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: