[Index]
bus:driver
Drives data from an iterable (such as a list)
through a Bean Bus. It can also be used outside Bean Bus to push data to any java.util.function.Consumer.
Property Summary
Example Summary
Property Detail
count
name
| Configured By | ATTRIBUTE |
| Access | READ_WRITE |
to
| Configured By | ELEMENT |
| Access | READ_WRITE |
values
| Configured By | ELEMENT |
| Access | READ_WRITE |
Examples
Example 1
Drive 3 Beans through a Bean Bus.
<oddjob>
<job>
<bus:bus id="bean-bus" xmlns:bus="oddjob:beanbus">
<of>
<bus:driver>
<values>
<list>
<values>
<value value="#{25.5}"/>
<value value="#{36.2}"/>
<value value="#{40.4}"/>
</values>
</list>
</values>
</bus:driver>
<bus:map>
<function>
<value value="#{ function(x) { return x * 2 } }"/>
</function>
</bus:map>
<bus:collect id="results"/>
</of>
</bus:bus>
</job>
</oddjob>
(c) R Gordon Ltd 2005 - Present