[
https://issues.apache.org/jira/browse/CXF-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796126#action_12796126
]
Charles Moulliard commented on CXF-2589:
----------------------------------------
Hi Sergey.
Current camel-cxf don't support the continuation yet. Willem will have a look
on that this week.
Regards,
Charles
> 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
> 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.
-
You can reply to this email to add a comment to the issue online.