[
https://issues.apache.org/jira/browse/CAMEL-8672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502427#comment-14502427
]
ASF GitHub Bot commented on CAMEL-8672:
---------------------------------------
GitHub user koscejev opened a pull request:
https://github.com/apache/camel/pull/500
CAMEL-8672: RestletComponent should look for "restlet" properties
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/koscejev/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/500.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #500
----
commit 0be60879ef3509ad5ac24d06cf6b2100183a96d0
Author: Anton Koscejev <[email protected]>
Date: 2015-04-20T06:43:23Z
CAMEL-8672: RestletComponent should look for "restlet" properties
----
> 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
> 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)