Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3A8C8200AF7 for ; Tue, 14 Jun 2016 21:42:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 37C4C160A47; Tue, 14 Jun 2016 19:42:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 87A78160A06 for ; Tue, 14 Jun 2016 21:42:50 +0200 (CEST) Received: (qmail 62914 invoked by uid 500); 14 Jun 2016 19:42:49 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 62901 invoked by uid 99); 14 Jun 2016 19:42:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2016 19:42:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D2754C028E for ; Tue, 14 Jun 2016 19:42:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.711 X-Spam-Level: *** X-Spam-Status: No, score=3.711 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LINEPADDING=1.2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id gxOw8pTZpBmS for ; Tue, 14 Jun 2016 19:42:45 +0000 (UTC) Received: from mail-io0-f180.google.com (mail-io0-f180.google.com [209.85.223.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6F5115F254 for ; Tue, 14 Jun 2016 19:42:45 +0000 (UTC) Received: by mail-io0-f180.google.com with SMTP id o127so4006993iod.2 for ; Tue, 14 Jun 2016 12:42:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=fJ5KVREFWJfMqyttXLRUcO3In7rRULvMtwgnyBoEeMI=; b=Emqpj/mpQdwrbLNPhy3sd5uUksE6akAUGcbTl32SP1hl5TI+ZkMHXPJVqliw/HfapM azaZ2N5oltL1fb967mPEwL8rKld6PExGFN2NkjnUpzWlWphKGULOu8GTcwRiZGGtpvpa pzf/3ar3IDO9Du+c4ZYMxdHCaZZWFd9cAl5DUl6PUgPJcohfw81hXLMfae61kxdyVn2p 2WqUMN/tBjfoNBJrwqBKpKOnpmcg4VGQdasN5USFJs9SEFY0SjCz5cWpbywGY59z5YPS XFfqzidLXyD0dOTJ8zcsh4vHrWrAL8rLi2wXlnaeE3s9rPwvyX3EahB1WnhTGG7HEkKi el4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=fJ5KVREFWJfMqyttXLRUcO3In7rRULvMtwgnyBoEeMI=; b=mui+3QpaxVUhCawGZx6ZBYl0lYqtpEyPgaMrLT8fdX6OYaAPY3mAGu+0AQzhV2fwqC G9ntIuLablFH3SRcbEIyIp78Nt5t3S99TMZhDXEgTWNYryPtVMAvOtdwwPbr8MsRYrMH cpSsVQGF0QIw4dQQVEpb0HhbXzCosSrzXvhDjp3+IVOBpSUp3mDi51Ed7eqbvKVPynYY TccmEufSYdcG9LtQe6cW1d9YhpDZrWT6XFAlxAZrzdpBNSpZq++feVPEOJ1GcyjPvgrR WJFCRa3PvvWevw/vrbat9hGa6U/LZu38qKOwnjbDHfrofI48QfI4ToVPYUoqVpeAAefU suMw== X-Gm-Message-State: ALyK8tLCXmZJ0vc5RGx5aFulsBWt/v+YmKGGAlaNBCR9724hs8boU0dawK5binVQ/PiADlXotfq7xwaIZr45bQ== X-Received: by 10.107.181.75 with SMTP id e72mr36540405iof.88.1465933364805; Tue, 14 Jun 2016 12:42:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.167.68 with HTTP; Tue, 14 Jun 2016 12:42:44 -0700 (PDT) In-Reply-To: References: <1465915112422-5784041.post@n5.nabble.com> From: Tarek Jarraya Date: Tue, 14 Jun 2016 21:42:44 +0200 Message-ID: Subject: Re: [camel 2.17] limited performance (not more than 20 req/s) To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001a1144577e7945c205354235ed archived-at: Tue, 14 Jun 2016 19:42:51 -0000 --001a1144577e7945c205354235ed Content-Type: text/plain; charset=UTF-8 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. 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 wrote: > On Tue, Jun 14, 2016 at 4:38 PM, owain > wrote: > > Is there a typo toD in here? > > > > > > 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 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 > --001a1144577e7945c205354235ed--