[
https://issues.apache.org/jira/browse/CAMEL-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203401#comment-13203401
]
Claus Ibsen commented on CAMEL-4434:
------------------------------------
Patches is welcome with unit tests.
We should possible consider having a SimpleProducerTemplate interface people
can downcast and use, which have the most commonly used methods.
Then the regular ProducerTemplate can have all the extra methods.
> ProducerTemplate - Should have async API which offers the Camel specific
> AsyncCallback API
> ------------------------------------------------------------------------------------------
>
> Key: CAMEL-4434
> URL: https://issues.apache.org/jira/browse/CAMEL-4434
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: Future
>
>
> This allows you to use the producer template and have the callback invoked
> using the async routing engine.
> The current API is using the JDK threads pool and Future abstraction. We
> should offer the Camel specific AsyncCallback API as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira