[ 
https://issues.apache.org/jira/browse/CXF-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Beryozkin resolved CXF-2589.
-----------------------------------

    Resolution: Won't Fix

I believe that must've been fixed at Camel level

> Allow CXF Bean endpoint to work in asynchronous mode
> ----------------------------------------------------
>
>                 Key: CXF-2589
>                 URL: https://issues.apache.org/jira/browse/CXF-2589
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-RS
>    Affects Versions: 2.2.5
>            Reporter: Charles Moulliard
>
> The following code does not work :
>       @GET
>       @Path("/incidents2/")
>       public Incidents getIncidentsAsync() {
>               Incidents l = new Incidents();
>               // Call the distant service to get result (ASYNCHR WAY )
>               Future future = producer.asyncRequestBody("jms:queue:inout", 
> "GET");
>               // Check if we receive a feedback within 10 seconds
>               List<ReportIncident> i;
>               try {
>                       i = producer.extractFutureBody(future, 
> 10000,TimeUnit.MILLISECONDS, List.class);
>               } catch (TimeoutException e) {
>                       return null;
>               }
>               l.setIncidents(i);
>               return l;
>       }
> because CXF bean endpoint does not allow to work with async process

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to