[
https://issues.apache.org/jira/browse/CAMEL-6562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-6562.
--------------------------------
Resolution: Invalid
Fix Version/s: 2.12.0
Assignee: Claus Ibsen
The thread options is NOT on the endpoint. But have to be configured on the
Component.
This is also what is documented at: http://camel.apache.org/restlet
eg use a <bean id="restlet" class="..."> and configure it using the bean style.
> maxThreads property of restlet component is ignored
> ---------------------------------------------------
>
> Key: CAMEL-6562
> URL: https://issues.apache.org/jira/browse/CAMEL-6562
> Project: Camel
> Issue Type: Bug
> Components: camel-restlet
> Affects Versions: 2.11.1
> Reporter: Torsten Mielke
> Assignee: Claus Ibsen
> Labels: restlet
> Fix For: 2.12.0
>
> Attachments: CAMEL-6562.tgz
>
>
> Starting a Camel route that consumes from restlet as
> {code:xml}
> <from uri="restlet:http://localhost:8080/test/v1.0/test?maxThreads=20"/>
> {code}
> the maxThreads property is ignored when configuring the restlet endpoint.
> If I push >10 concurrent requests it will result in this warning
> {noformat}
> INFO: Worker service thread pool: 1 core size, 10 largest size, 10 maximum
> size, 10 current size
> INFO: Stop accepting new connections and transactions. Consider increasing
> the maximum number of threads.
> {noformat}
> and any more than 10 concurrent requests receive
> {noformat}
> DEBUG Received response: HTTP/1.1 - Not Found (404) - Not Found for
> exchangeId: ID-mac-fritz-box-53062-1374152641597-0-28
> {noformat}
> When I debugged through the creation and configuration of the RestletEndpoint
> the maxThreads property was not set.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira