Hi,

You can use @UseAsyncMethod annotation available since CXF 2.6.0: 
http://cxf.apache.org/docs/annotations.html .
If transport supports it, CXF will use async version of the method, if not - 
sync version will be invoked.

Regards,
Andrei.

> -----Original Message-----
> From: Seong Hoon Kim [mailto:[email protected]]
> Sent: Freitag, 31. Mai 2013 08:30
> To: [email protected]
> Subject: Asynchronous Method Dispatch in CXF?
> 
> 
> I am planning to implement a set of services based on CXF.
> What I know is when the function (i.e., method) is invoked at a server side,
> the response message is sent to the client immediately after the function
> returns.
> 
> Unlike this, I need to use asynchronous method dispatch (see below) at a
> intermediate dispatcher.
> client -> intermediate dispatcher -> actual server client <- intermediate
> dispatcher <- actual server
> http://en.wikipedia.org/wiki/Asynchronous_method_dispatch
> <http://en.wikipedia.org/wiki/Asynchronous_method_dispatch>
> 
> That is, I want to know whether there is a way of sending the response later
> but not immediately after the function returns.
> 
> Thank you in advance.
> 
> 
> 
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Asynchronous-Method-Dispatch-in-CXF-
> tp5728564.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to