Hi I had some more time to work on this. I have attached a 2nd patch on the JIRA ticket 1572.
This time the patch is only focusing on the AsyncProducerTemplate. I have added more methods to cover the most common methods use in producer template. With this an end user can initiate and async routing in Camel. If the user wants to use the regular Camel API (lookup endpoint, create exchange, create producer, process etc.) there is a helper method on AsyncProcessorHelper to initiate an async route as well. Any thoughts? On Fri, May 1, 2009 at 11:53 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > I have committed a patch to trunk: > that resolves #1 (partly), #2 and #4 > > In #1 there are still two classes that needs a cleanup as well. > However they are core pieces in Camel, the Pipeline and > MulticastProcessor so they are left as is. When we have a new Async > API in place these classes can be fixed as well. > > I have also attached a prototype for a patch for the new async API > experiment I have done. See CAMEL-1572. > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > Apache Camel Reference Card: > http://refcardz.dzone.com/refcardz/enterprise-integration > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus Apache Camel Reference Card: http://refcardz.dzone.com/refcardz/enterprise-integration Interview with me: http://architects.dzone.com/articles/interview-claus-ibsen-about?mz=7893-progress