cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Need help in getting HTTP timeout to work for JAX-RS
Date Thu, 12 Apr 2012 10:06:09 GMT
On 12/04/12 06:41, domino wrote:
> Tried Sergey's suggestion with no luck. Defined a name space with reverse
> package name of the service class and used it in the conduit name. Also
> tried using the service URL in the conduit name, but didn't work. Can you
> help me with the specific syntax for this particular example?
>
>      <http:conduit name="{http://service.rs}MyService.http-conduit">
>          <http:client ReceiveTimeout="300000"></http:client>
>      </http:conduit>
>
>      <jaxrs:client id="myService" xmlns:s="http://service.rs"
> name="s:MyService" serviceName="s:MyService"  address="${services.url}"
> serviceClass="rs.service.MyService" inheritHeaders="true"/>
>

It all works OK for me, I'm committing the update to the tests shortly, 
one of the tests uses the service name the way you defined it, btw, 
jaxrs:client/@name looks wrong/redundant.

> Additionally, Daniel, could you point me to the fix so that I can build a
> jar on top of stable 2.5.2 release instead of using a snapshot?
>
The merge history is here:
https://issues.apache.org/jira/browse/CXF-4238

Sergey

> Thanks!
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Need-help-in-getting-HTTP-timeout-to-work-for-JAX-RS-tp5629866p5634685.html
> Sent from the cxf-user mailing list archive at Nabble.com.


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Mime
View raw message