camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: 502 Timeout
Date Tue, 16 Sep 2014 21:30:53 GMT
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 <berdoni@gmail.com> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message