Hello All,
This is my route
            from("direct:getstreaminfo").startupOrder(2)
                     .recipientList().method(MessageRouter.class,
"routeTo").parallelProcessing().aggregationStrategy(new
GroupedExchangeAggregationStrategy()).convertBodyTo(String.class)
                     .process(eventStreamedProcessor).to("log:foo");

Iam trying to get the list of exchanges in processor using
List<Exchange> exchangeList =
exchange.getProperty(Exchange.GROUPED_EXCHANGE, List.class);
But my problem is within each of the exchanges,the body is of type
CachedOutputStream.WrappedInputStream which i cant access.
So all i want is within each of the exchange present in the list,i want to
body to be of type String.Is it possible?

Thanks
Suman

--
View this message in context: 
http://camel.465427.n5.nabble.com/Converting-message-body-after-GroupedExchangeAggregationStrategy-tp5158191p5158191.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to