If you're trying to process multiple records picked up by a DB query in parallel, you should take a look at the Splitter EIP, which includes support for multithreading out of the box.
Regards, Raúl. > On 12 Oct 2013, at 01:21, astorath <overri...@yandex.ru> wrote: > > I want the route to operate in several thread simultainously. > > from(¨timer://foo¨).to(¨jdbc://myDataSource¨).to(¨mock:results¨) > > I can use two routes (timer + seda) to get that kind of result, but this is > ugly (besides using additional thread and queue), or I can create the route > several times. Is there any normal way to get that kind of behavior? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apache-Camel-multithread-processing-tp5741383.html > Sent from the Camel - Users mailing list archive at Nabble.com.