Hi Matt,

Thanks for the reply, actually i do not get any exceptions as the external
service returns a success response.

Below is code used to invoke a EJB service

                Future<Exchange> futurexchange = (Future<Exchange>) 
p_ProducerTemplate
                                
.asyncSend(FrameworksStartup.getInstance().getUriMap()
                                                                .get(camelID), 
new Processor() {
                                                        public void 
process(Exchange exchange)
                                                                        throws 
Exception {
                                                                
exchange.getIn().setHeader(Exchange.BEAN_MULTI_PARAMETER_ARRAY,true);
                                                                        
exchange.getIn().setBody(l_paramArray);
                                                                }
                                                        }
                                                });




--
View this message in context: 
http://camel.465427.n5.nabble.com/ExchangeSentEvent-spent-time-is-more-than-ExchangeCompletedEvent-tp5753047p5753112.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to