If you use an InOnly exchange, there is no response, so you should be able to send the exchange asynchronously. if you need to handle responses, that's a lot of work. This has been done in servicemix-http using Jetty continuations. Is that what you are looking for ?
On 9/12/06, ajayk_goel <[EMAIL PROTECTED]> wrote:
I have implemented a new class extending the HttpConnector and it works good in synchronous mode. I want to turn this into aSynchronous as this component needs to interact with few more SEs in our enviroment and we don't want to make all this call syncronous. Can some one help me configure this? 1) I changed by serviceMix file to have new property <property name="defaultInOut" value="false" /> 2) I changes my process(HttpServletRequest request, HttpServletResponse response) to processInOnly 3) Made the call boolean result = getDeliveryChannel().sendSync(exchange); to getDeliveryChannel().send(exchange) How do I get the handle back now and tie up the response with the corresponding request? Do we have add another SE like ChainedCompoenent or PipeLineComponent in the serviceMix? Thanks -- View this message in context: http://www.nabble.com/httpConnector-using-asynchronous-tf2260079.html#a6270166 Sent from the ServiceMix - User forum at Nabble.com.
-- Cheers, Guillaume Nodet
