[
https://issues.apache.org/jira/browse/CAMEL-10308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15482581#comment-15482581
]
ASF GitHub Bot commented on CAMEL-10308:
GitHub user tivv opened a pull request:
https://github.com/apache/camel/pull/1167
CAMEL-10308
Provide a way to use async engine from ProducerTemplate
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tivv/camel j8-producer-template
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1167.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1167
commit 5daf4fa79a8cfa74e0d3253d07e8548c844de3a9
Author: Vitalii Tymchyshyn
Date: 2016-09-11T23:25:42Z
CAMEL-10308
Provide a way to use async engine from ProducerTemplate
> Provide a way to use async engine from ProducerTemplate
> ---
>
> Key: CAMEL-10308
> URL: https://issues.apache.org/jira/browse/CAMEL-10308
> Project: Camel
> Issue Type: New Feature
>Reporter: Vitalii Tymchyshyn
>
> Currently ProducerTemplate delegates to Sync engine even when async* methods
> are used.
> This improvement:
> * changes async methods to use async engine
> * Provides Java 8 CompletableFuture instead of regular Future to the called
> * Provides a way to invoke async engine without additional thread pool
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)