Re: Aggregator won't work with filter?

2013-08-02 Thread Claus Ibsen
Hi The correlation expression in your aggregator is wrong. You use body() which is likely not what you want. If you just want to put all in the same group then use a constant instead, eg constant(true) or something. I suggest to read about the aggregate EIP again. And if you have a copy of Camel

Re: Aggregator won't work with filter?

2013-08-02 Thread roger_rabbit
Claus, I just figured it out a few minutes ago and was about to answer :) ... I confirm my correlation expression was wrong. A night of routing lead me to the solution. What confused me what that without a filter, it worked well : because all bodies where the same (ie a default xml content with

Aggregator won't work with filter?

2013-08-01 Thread roger_rabbit
Hi, I have a strange problem that may be related to my poor knowledge of EIP http://camel.apache.org/eip.html . But althouth I took time to read the whole of it, I may have missed stg cause I couldn't find a solution. Thus, here is it : I have 2 routes, one filtering incoming (XML as String)