I was never using getOut. I just put it in the test snippet. Sorry for the
confusion

The code snippet below

String oldBody = oldExchange.getIn().getBody(String.class);
String newBody = newIn.getBody(String.class);

that I had put was working flawlessly in  camel 1.6. I checked in
http://camel.apache.org/camel-200-release.html and could not find any change
in the Exchange class in camel 2.2. 

But now in camel 2,2 it is retuning null. Though everything else is same.
Am I missing something here ?

(File poller reading a xnl file and sending it to custom aggregator - (the
aggregation strategy is slightly complex)

Here is the route

from("jbi:service:http://servicemix.apache.org/test/camel-receiver";)
        .aggregate(new MyAggregationStrategy()) //camel 2
        .header("*")
        .completionPredicate(header("completed").isEqualTo("true")) //camel 2
        .to("log:tutorial");  




-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/servicemix-3-3-1-and-camel-core-2-3-0-tp1624310p2840503.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to