Hi Claus, Sorry for late reply.
When I downgraded to camel 2.16.1/3 the performance issue disappears. Regards, Tarek Le mardi 14 juin 2016, Tarek Jarraya <tarekjarr...@gmail.com> a écrit : > Hi Both, > > Thanks for your interest. > > @Claus, > > this toD generates only one endpoint. I try to change it to "to" format > and let you know. > > One more thing, our exposed endpoint is using camel servlet. > > <endpoint id="esb-pricing-v1.1-endpoint" > uri="servlet://offer/pricing/v1.1"> > <property key="servletName" value="CamelServlet" /> > <property key="httpMethodRestrict" value="POST" /> > <property key="matchOnUriPrefix" value="true" /> > </endpoint> > > I saw in the http4 page that if we want to expose an endpoint and attach > it to route, we use camel-jetty. > Should we change our exposition? > > Some people said that we expose mostly web services with CXF. > But in that case, we have to implement a class for each endpoint. However, > with servlet we don't do it, so no more java code. > > Any recommendation if the servlet exposition is not adapted for concurrent > context? > > Regards, > Tarek > > On Tue, Jun 14, 2016 at 5:20 PM, Claus Ibsen <claus.ib...@gmail.com > <javascript:_e(%7B%7D,'cvml','claus.ib...@gmail.com');>> wrote: > >> On Tue, Jun 14, 2016 at 4:38 PM, owain <owain@integration.technology> >> wrote: >> > Is there a typo toD in here? >> > >> > <toD >> > >> uri="{{pricing-wsrest-endpoint}}&bridgeEndpoint=true&throwExceptionOnFailure=true" >> > /> >> > >> >> toD is a dynamic to. >> >> How many unique endpoints does {{pricing-wsrest-endpoint}} generate in >> your test? >> >> If the dynamic part is the context-path and/or uri parameters its >> better to use <to> and then use a header (HTTP_PART / HTTP_QUERY etc) >> to provide the dynamic context-path / uri parameters. Then you reuse >> same endpoint/producers. >> http://camel.apache.org/http4 >> >> >> >> >> >> >> >> > >> > >> > >> > >> > -- >> > View this message in context: >> http://camel.465427.n5.nabble.com/camel-2-17-limited-performance-not-more-than-20-req-s-tp5783980p5784041.html >> > Sent from the Camel - Users mailing list archive at Nabble.com. >> >> >> >> -- >> Claus Ibsen >> ----------------- >> http://davsclaus.com @davsclaus >> Camel in Action 2: https://www.manning.com/ibsen2 >> > >