Hi Claus,

I am trying to implement Threads EIP in the following manner:

<threadPool id="myThread" poolSize="20" threadName="thread1"/>

<from uri="[local folder]"  />
<threads executorServiceRef="myThread">
     <to uri="http://localhost:9002/REST-Webservice/rest/RESTService";  />
     <bean ref="[bean name]" method="[method name]"/>
     <camel:to uri="file://C:/Projects/GLS/test"/>
</threads>

The control is going till webservice but it is not entering the bean.
How can i achieve the above using threads. Am I doing anything wrong?

Also, is the above approach preferable performance wise?

Appreciate your help

Thanks
                                                                                
                

--
View this message in context: 
http://camel.465427.n5.nabble.com/CXF-webservice-asyn-tp5695918p5697938.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to