Hi

You need to enable the asyncConsumer on the jms endpoint
http://camel.apache.org/jms



On Thu, Jun 7, 2012 at 6:14 PM, Deepthi <deepthi...@gmail.com> wrote:

> Hi,
>
> If I give the route as:
>
> <from uri="file://[parth]"/>
> <threads>
> <to uri="[webservice url]"/>
> </threads>
> The above route reads a file from source generates a thread and invokes web
> service. Even if 1 thread gets blocked, the remaining threads get executed.
>
> But, if i change the source to queue as below:
> <from uri="jms:queue:[queue name]"/>
> <threads>
> <to uri="[webservice url]"/>
> </threads>
> If 1 thread gets blocked, the route is not reading the next message from
> source/ queue and blocking the remaining threads.
>
> I tried using splitter as well and I am facing the same issue, the process
> is getting blocked.
>
> how can i achieve above where i can generate multiple processes/threads for
> each of the message read from the queue?
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Issue-with-queue-for-parallel-processing-tp5714137.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to