camel log taking a string

2015-08-18 Thread Christophe Pache
Hello everyone. I'm wondering why the log keyword might not take an expression. As far as I know, the message is turned into an expression in the LogDefinition.createProcessor method. is it because it should only use the simple expression language? Thanks a lot, Christophe -- View this

Re: parallelProcessing with multicast

2015-04-01 Thread Christophe Pache
Thanks Claus for your answer! I did test but did not succeed into making it work as I wanted to (change the order of received message). Following your advice, I've just added the streaming configuration to the multicast eip such as following, is that correct? val croute = new

parallelProcessing with multicast

2015-04-01 Thread Christophe Pache
Hello everyone I have tried to test the parallel processing with Camel. The split was easy and worked out of the box. I have some surprises and I'm wondering whenever I'm understanding correctly the expected behaviour with the multicast. In the Code below, I try to send messages to two routes.

Re: parallelProcessing with multicast

2015-04-01 Thread Christophe Pache
Thanks, You are true. Sorry, I should have pasted the code where I send exchanges again. List(0, 1, 0, 1, 0, 1, 0, 1, 0, 1).foreach(x =sendBody(direct:input, x)) I'm sending 10 exchanges. I hope I'll receive 10 in the end and I'm not expecting aggregation in fact. I've controlled each sub

Re: parallelProcessing with multicast

2015-04-01 Thread Christophe Pache
Thanks, Alexey I added the end and then it worked. Well, Claus was true also: Now, I've understood the parallel processing is only on one exchange in one EIP at a time. My sample works, thanks guys!!! have a nice day Le 01. 04. 15 15:47, alexey-s [via Camel] a écrit : An incident that is

Re: Babel: new DSL for Camel

2014-10-07 Thread Christophe Pache
Just a little up to this thread to announce that an experimental java 8 DSL has been release. It's tends to provides the same features as the Babel Scala DSL within Java 8, taking advantages of lambdas. Sources are available at https://github.com/Crossing-Tech/babel-experimental If you have any

error clauses and reste of the route in scala

2014-05-23 Thread Christophe Pache
Hello everyone, I'm currently working on error clauses and I got some strange behaviour with camel in Scala. I would really enjoy having some feedback on what I've tried to do because I haven't found any help on that. I saw Java example that seamed to work and it's really currious for me.