Hello everybody,

I am using camel 2.2 and like to process two instances of a single route in
parallel. Currently I am using the <camel:threads> processor to achieve
this. In cause an exception occurs the whole route should be processed once
again. The exception handling and the restart of the route is defined in an
onException clause.  Everything works fine as long I do not use the threads
processor. 

This is the exception clause I currently using. The dummy queue is not
defined. The actually used queue will is set by computeQueue. 

<camel:onException>
        <camel:exception>some.Exception</camel:exception>
        <camel:handled>
                <camel:constant>true</camel:constant>
        </camel:handled>
        <camel:bean ..."computeQueue"/>
        <camel:to uri="activemq:queue:dummy"/>
</camel:onException>


Does anybody have an idea what could be the problem? I also have some
problems to get information about the threads processor. Or is there any
other processor, which I could use instead of <threads>?

Thx for you help.

-- 
View this message in context: 
http://camel.465427.n5.nabble.com/process-several-instances-of-one-route-in-parallel-tp3275297p3275297.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to