camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kenhans <>
Subject copy of Exchange during Multicast
Date Thu, 14 Jun 2012 10:18:54 GMT
according to , multicast will copy the source
Exchange and multicast each copy. I.e. changes done to the Exchange remains
local to the multicast recipient. Is there a way to make changes done to the
header visible in further processing? Particularly, I would like to see if
the Exchange.FILTER_MATCHED header has been set or not. With the
MulticastDefinition below, the header is lost before reaching aggregation.

Any thoughts are highly appreciated.

MulticastDefinition multicastDefinition = route.multicast(); 
for (Producer producer : producers) { 
  .filter().method(producer, "filter")   
  .bean(producer, "createEvent") 
multicastDefinition.aggregate(constant(true) , new

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message