Re: parallelProcessing with multicast

2015-04-01 Thread Christophe Pache
uot;) > .filter() > .to("myprocess") > .end() > .to("mock.out"); > > > ---- > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.

Re: parallelProcessing with multicast

2015-04-01 Thread alexey-s
o("mock.out"); -- View this message in context: http://camel.465427.n5.nabble.com/parallelProcessing-with-multicast-tp5765146p5765154.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: parallelProcessing with multicast

2015-04-01 Thread Christophe Pache
t;).filter(body.isEqualTo(0)). process(new Processor { override def process(exchange: Exchange): Unit = { (1 to 10).foreach(x => { Thread.sleep(100) println("even") }) } } ).

Re: parallelProcessing with multicast

2015-04-01 Thread Claus Ibsen
uot;direct:even").filter(body.isEqualTo(0)). > process(new Processor { > override def process(exchange: Exchange): Unit = { > Thread.sleep(1000) > } > } > ). > to("mock:outp

Re: parallelProcessing with multicast

2015-04-01 Thread Christophe Pache
") } } -- View this message in context: http://camel.465427.n5.nabble.com/parallelProcessing-with-multicast-tp5765146p5765149.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: parallelProcessing with multicast

2015-04-01 Thread Claus Ibsen
ock:output") > } > } > > //. > val producer = camelContext.createProducerTemplate() > List(0, 1, 0, 1, 0, 1, 0, 1, 0, 1).foreach(x => > producer.sendBody("direct:input", x)) > > > > > -- > View this message in context: &g

parallelProcessing with multicast

2015-04-01 Thread Christophe Pache
r.sendBody("direct:input", x)) -- View this message in context: http://camel.465427.n5.nabble.com/parallelProcessing-with-multicast-tp5765146.html Sent from the Camel - Users mailing list archive at Nabble.com.