camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepthi <>
Subject Re: CXF webservice asyn
Date Wed, 09 May 2012 16:45:07 GMT
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"/>

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


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message