cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: How to handle a large response object or attachment with CXF?
Date Thu, 09 Oct 2008 16:34:26 GMT

Couple options:

1) Use a WS-Addressing decoupled endpoint for the response.  The server would 
then basically send it back on a decoupled channel when it's ready.   

2) Increase the timeout on the client side.   We default it to 60 seconds, but 
it's easily configured (or even turned off).

3) Use a more "callback" pattern  where the client creates an endpoint to get 
the response, sends the endpoint reference with the request, then waits.   
Quite a bit more work and essentially does what the case 1 above does.


On Thursday 09 October 2008 10:27:42 am Ronald Pieterse wrote:
> Hello.
> In my service doing some time consuming stuff (reading email and handling
> them) thus the connection is timing-out before I can start sending the
> response. What way would I need to walk to keep the connection open? Is
> there any way CXF can help in this?
> Thnx,
> Ronald

Daniel Kulp

View raw message