Hi,

The splitter wiki documentation mentions that it is possible to do tasks in
parallel. But unfortunately the example does not show the second parameter
(= flag) of the two parameters mentioned in the doc.

Can someone update the example to show how to process tasks in // ?

Many thanks in advance,

Charles Moulliard

***************** wiki doc ************************
Parallel execution of distinct 'parts'

If you want to execute all parts in parallel you can use special notation of
splitter() with two arguments, where the second one is a flag if processing
should be parallel. e.g.

XPathBuilder xPathBuilder = new XPathBuilder("//foo/bar"); 
from("activemq:my.queue").splitter(xPathBuilder).to("activemq:my.parts");



-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : [EMAIL PROTECTED]
web site : www.xpectis.com 
-- 
View this message in context: 
http://www.nabble.com/Document-concerning-splitter-example-in-wiki-not-clear-enough-for----processing-%21%21-tp18506956s22882p18506956.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to