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 <berd...@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.
>

Reply via email to