Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7E4F18561 for ; Wed, 3 Feb 2016 13:54:48 +0000 (UTC) Received: (qmail 32381 invoked by uid 500); 3 Feb 2016 13:54:42 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 32332 invoked by uid 500); 3 Feb 2016 13:54:42 -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 32319 invoked by uid 99); 3 Feb 2016 13:54:41 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2016 13:54:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 6A8371A0351 for ; Wed, 3 Feb 2016 13:54:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.492 X-Spam-Level: ** X-Spam-Status: No, score=2.492 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 9oWtKJP1CbBe for ; Wed, 3 Feb 2016 13:54:40 +0000 (UTC) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 94FCB207E1 for ; Wed, 3 Feb 2016 13:54:39 +0000 (UTC) Received: by mail-lf0-f49.google.com with SMTP id m1so14581652lfg.0 for ; Wed, 03 Feb 2016 05:54:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xj/vrRk7F6+cU9y8knMmmpjgGDTFdwUczZbee2D1DmU=; b=X+V+egufWPQxen3QR2KbnYwoMGgwcqNfXweDhtsPaYoWexr2MOuzpWc5MxS1Eh+Tis Cbh36tw1NdDP+eUEKpOmqOmjH0v0zW5+BKSxyJY4M88aa+J6F9ztEOzAZ0UijWDPaaf4 Et7EKE71o12SQ62gb07aVxUvtnFrwPsnx9rFpBs3xzcUtXvaf68nxCF1X6WBraDCSt9b BMXGjtuZ5N3MLXu7ppg0xJ0Qb99GBl3Vn7/+Yjee8ulsn5oNMtjUjs8Ok9Ouk9KDpOg/ JNK8jmrRSP/dsf2j5Ge5cadB0WbAxpaCmgoqTXf8h1VN9ljIabrYCvd+tpXEVkzx0LVt q+1w== 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:date :message-id:subject:from:to:content-type; bh=xj/vrRk7F6+cU9y8knMmmpjgGDTFdwUczZbee2D1DmU=; b=hrMmVxVpHNnfiWTsmlND4WBrmttfjTndWMVxhqVYrapXOpISAe8o9eU7rIJ6plKfuS X1N1+FpOhFHTGxduDLa4YIOtmMXKsYMAT6EX3aDtac2T2DOi/67Y4+2k/O4P6i3nla2/ HAd9Zx7BPAWobQ54a5M92Fw+KAaufmAa0bIZdF9fTNfVpi5qrj6ENguzE2beOb6TFRyt 0+RpvfCgZMdBrAYz/+8QEhYZTq59vj7+8WIlOxDotcKow4m1xFdJa+O1HnzgC0FrP0Ze 4oxwXtacGMGoGw0wJKMH37A4859G8JMGOvoo8dXul1FkIS+2Pj3zfTM0oy4e1GDYOdIU J9Xw== X-Gm-Message-State: AG10YORPpNGCNAlOZnTWU/H8FJduiH67muQSTrHgkpmX6Shlr1/MDjx9mw24xSE2BRfNoHdNr3mP674mMJYxvw== MIME-Version: 1.0 X-Received: by 10.25.31.193 with SMTP id f184mr851408lff.5.1454507677988; Wed, 03 Feb 2016 05:54:37 -0800 (PST) Received: by 10.25.218.194 with HTTP; Wed, 3 Feb 2016 05:54:37 -0800 (PST) In-Reply-To: <1454493728711-5777182.post@n5.nabble.com> References: <1390320530416-5746289.post@n5.nabble.com> <1390323047948-5746292.post@n5.nabble.com> <1390324196489-5746295.post@n5.nabble.com> <1390325411682-5746298.post@n5.nabble.com> <1390331543380-5746303.post@n5.nabble.com> <1454493728711-5777182.post@n5.nabble.com> Date: Wed, 3 Feb 2016 14:54:37 +0100 Message-ID: Subject: Re: soTimeout ignored by camel http component From: Andreas Siepert To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001a11403bf2784029052addf555 --001a11403bf2784029052addf555 Content-Type: text/plain; charset=UTF-8 You could pass the whole uri as header parameter. If i rember right this works since 2.16 for to() - if using an older version you could use the EIP recipientList Hope that helps Andi 2016-02-03 11:02 GMT+01:00 yuktisinghal : > In my current application camel is used as an intermediate queue > for handling the request.when my server is start up , we set up the > routes.In the routes we define define timeout .My routebuilder class is > > from(consumerUri).to(TO_INFO).process(new CamelReceiveProcessor)); > > Here TO_INFO = jetty://${header.headerProducerURI}?httpClient.timeout=15000 > > And the header.headerPrpducerURI is passed at runtime. > > But that timeout is set for all the requests. > > I want to override this value of timeout dynamically with each request. > > How to do it??? > > Also, i tried not setting it at configure method but passing it through > Exchange.HTTPURI OR Exchange.HTTPQUERY.But as mentioned > Above it was completely ignored.it does not gives timeout exception. > > So my query is how can we override already set settings like timeout > During run time ?? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5777182.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --001a11403bf2784029052addf555--