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 3BDFF11311 for ; Tue, 16 Sep 2014 21:31:19 +0000 (UTC) Received: (qmail 43983 invoked by uid 500); 16 Sep 2014 21:31:18 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 43932 invoked by uid 500); 16 Sep 2014 21:31:18 -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 43917 invoked by uid 99); 16 Sep 2014 21:31:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 21:31:18 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.mueller@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-wg0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 21:31:14 +0000 Received: by mail-wg0-f51.google.com with SMTP id k14so458123wgh.34 for ; Tue, 16 Sep 2014 14:30:53 -0700 (PDT) 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=Io/Jc0SyjgVSoLs+/REZElpHRYsxXr7zQKswL6nylH4=; b=cECIBJPDig5sa93Moo1NTHk9SAHGCLKr/m0tfnmPfhcdIppq+lEHkJytohXYVVGhDF UJa/fRLZHLCPh5vdZGTw4or3YhdjxPPEaY9FYbWkr5sM5mz2Luemsm+o9Vs8EL5ONcda Yp8TZ1YQxiGXvSc3HW4tCK+1TiwodJx4E/BuDbiTCJhVXtWtytDeAxAS7gUCGy4CcUuv sqjjQjEbYfvYPE1JnGA3Balf/1eTXxvfCZrhV5MdF3Cr9nnQwwI4EjiPpSVtVnZhRoO0 hIHk3j+WXxz1AHYV9wRdVYgc1vgNuxWluGuKUkWpV/HJzZF4uzwm9FPz6EGwpR9reqtF o4EA== MIME-Version: 1.0 X-Received: by 10.180.86.195 with SMTP id r3mr35596198wiz.8.1410903053459; Tue, 16 Sep 2014 14:30:53 -0700 (PDT) Received: by 10.217.8.66 with HTTP; Tue, 16 Sep 2014 14:30:53 -0700 (PDT) In-Reply-To: <1410796308629-5756549.post@n5.nabble.com> References: <1410796308629-5756549.post@n5.nabble.com> Date: Tue, 16 Sep 2014 23:30:53 +0200 Message-ID: Subject: Re: 502 Timeout From: =?UTF-8?Q?Christian_M=C3=BCller?= To: users@camel.apache.org Content-Type: multipart/alternative; boundary=f46d044286d850681705033577b5 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044286d850681705033577b5 Content-Type: text/plain; charset=UTF-8 http://camel.apache.org/jetty.html Did you tried the option httpClient.timeout=180000? Best, Christian ----------------- Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Mon, Sep 15, 2014 at 5:51 PM, berdoni wrote: > Hi, > > I have a simple proxy route deployed on ServiceMix: > > from("jetty:http:// > {{smx.host}}:{{smx.rest-proxy-port}}/{{smx.context}}?matchOnUriPrefix=true&enableMultipartFilter=false") > .noStreamCaching() > .to("jetty:http:// > {{target-server-address}}:{{target-ws-port}}/?bridgeEndpoint=true&throwExceptionOnFailure=false"); > > All ReST services are proxied without any issue except one where a timeout > occurs. A direct service call lasts for ~2mins but when the call is proxied > through SMX it timeouts after 60seconds. How to configure my proxy route to > timeout on 3mins? My route is deployed on SMX as an OSGi bundle with > Spring. > The call is initiated by a CXF producer (i.e. System A) it is proxied > through SMX and the consumer is a CXF Rest Service on System B. > > SystemA (CXF Rest client) <-> SMX (camel-hetty proxy route) <-> System B > (CXF Rest service) > > thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/502-Timeout-tp5756549.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --f46d044286d850681705033577b5--