Hi,

i'm setting up on a route a split like this : split(body(),
AggregationStrategies.bean(BusAggregator.class)).

In BusAggregator i put a value on booth headers, but i can't find this
header on the next step e.g a log :
        public String process(String prevBody, Map<String, Object> prevHeaders,
                        String nextBody, Map<String, Object> nextHeaders) 
throws Throwable {
                String returnBody = prevBody + nextBody;
                prevHeaders.put('myHeader', Boolean.FALSE);
                nextHeaders.put('myHeader, Boolean.FALSE);

.log"'${in.header.myHeader}  ${out.header.myHeader}'",


Can i set header in aggregation bean, to check its value in next steps of
route.

thanks 
Karlheinz





-----
kh
--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-AggregationStrategies-bean-setting-in-bean-header-value-tp5762357.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to