Hi ,
  I am using multicast in my route like mentioned below.
i am setting a property in one of these routes with id route2, which i want
to access in the multicast route1. i see that the exchange property is null
in the route1.
  can you please let me know how can i achieve this?



 <route id="route1">
<multicast stopOnException="true"shareUnitOfWork="true>

<to uri="direct:organisation_endpoin.dest1"/>

<to uri="direct:organisation_endpoint.dest2"/>

</multicast>
<log message="main route ${exchangeProperty.testprop}  ." />
</route>


<route if="route2">
<from uri="direct:organisation_endpoint.dest1"/>
<setProperty name="testprop">
<simple>hello</simple>
</setProperty>
</route>


<route id="route3">
<from uri="direct:organisation_endpoint.dest2"/>
</route>

-- 
Regards,
Rohan Emmanuel

Reply via email to