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 2015/04/20 08:50:59 UTC

[jira] [Resolved] (CAMEL-8672) Restlet Rest Component properties are ignored

     [ https://issues.apache.org/jira/browse/CAMEL-8672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-8672.
--------------------------------
    Resolution: Fixed
      Assignee: Claus Ibsen

Thanks guys

> Restlet Rest Component properties are ignored
> ---------------------------------------------
>
>                 Key: CAMEL-8672
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8672
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-restlet, rest
>    Affects Versions: 2.15.1
>            Reporter: Anton Koscejev
>            Assignee: Claus Ibsen
>             Fix For: 2.15.2, 2.16.0
>
>
> Rest properties for RestletComponent are not picked up by the component because it's incorrectly looking for "restle" properties instead of "restlet".
> {code}
>         // 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());
>             }
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)