Hy guys I wrote the route below to perform this behavior: 1) call onExchangeBegin once 2) call onExchangeDone /body.envelopeList.size()/ times
<camel:route id="routeLegacyDestinationEntry" routePolicyRef="loggingRoutePolicy"> <camel:from ref="legacyDestinationEntry" /> <camel:to uri="bean://legacyDestinationConsumer?method=process" /> <split parallelProcessing="true" streaming="true"> <simple>${body.envelopeList}</simple> <to ref="localSmsDeliveryEntry" /> </split> </camel:route> But the current behavior is: 1) call onExchangeBegin once 2) call onExchangeDone once If the *<to ref="localSmsDeliveryEntry" />* is the last "to" in the route, why onExchangeDone is not called /body.envelopeList.size()/ times? -- View this message in context: http://camel.465427.n5.nabble.com/RoutePolicy-Split-tp5718325.html Sent from the Camel - Users mailing list archive at Nabble.com.