Hi,

Please check out the source code for the SEDA component (asynch) and
ProducerTemplate asynchronous sending logic ;).
https://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaProducer.java?view=markup
https://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaProducer.java?view=markup
 
https://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducerTemplate.java?view=markup
https://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultProducerTemplate.java?view=markup
 

It should give you all kinds of ideas... I would recommend using a Camel
ProducerTemplate aysnc operations to work with Camel and create separation
rather than roll your own code to do something very similar... 

Otherwise, I sense this is going to be a longer and time consuming
discussion :).

Cheers,

Ashwin... 

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-impl-bean-side-of-proxy-w-Future-return-tp4581104p4581122.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to