Four Stars

apache camel jetty 8 or 9

I have a route with a camel jetty component. I want to add option httpClient for configure my component. This is my component

When I execute my route with TOS, I have this error :
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: jetty:http://toOverRide/?bridgeEndpoint=false&continuationTimeout=900000&throwExceptionOnFailure=false due to: There are 2 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=

In jetty 8, there aren't parameters maxRequestsQueuedPerDestination and maxConnectionsPerDestination. The good names are maxConnectionsPerAddress and maxQueueSizePerAddress
When I build the route, I put the kar file in the Runtime. The route started without error... Because runtime use jetty 9
karaf@trun()> feature:list | grep jetty
jetty                                   | 9.2.10.v20150310 |          | Started     | standard-4.0.5                         |
jetty                                   | 8.1.14.v20131031 |          | Uninstalled | standard-4.0.5                     |

How use jetty 9 in TOS ?

Re: apache camel jetty 8 or 9

Here is a new feature jira issue:
Best regards
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.