camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carnevalegiacomo <carnevalegiac...@gmail.com>
Subject Multicast parallel processing
Date Fri, 04 Jul 2014 06:04:16 GMT
Hi,
I'm trying to use multicast to execute parallel bean method invocation as
following:
-----------------------------
<multicast stopOnException="false" parallelProcessing="true">
                <pipeline>
                    <bean ref="bean-1" method="method-1"/>
                    <setProperty propertyName="property-1">
                        <simple>${body}</simple>
                    </setProperty>
                </pipeline>
                <pipeline>
                    <bean ref="bean-2" method="method-2"/>
                    <setProperty propertyName="property-2">
                        <simple>${body}</simple>
                    </setProperty>
                </pipeline>
 </multicast>
<log message="${property.property-1}"/>//The property is empty
<log message="${property.property-2}"/>//The property is not empty
--------------------------
How can I get property-1 after the multicast?

Thanks

Giacomo




--
View this message in context: http://camel.465427.n5.nabble.com/Multicast-parallel-processing-tp5753313.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message