Show Table of Contents
9.14. Execution XML Examples
A custom XStream marshaler can be used with the JBoss Rules Pipeline to achieve XML scripting, which is perfect for services. Here are two examples of this:
BatchExecution XML:
<batch-execution>
<insert out-identifier='outRed'>
<org.drools.Car>
<type>red</type>
<price>25000</price>
<oldPrice>0</oldPrice>
</org.drools.Car>
</insert>
</batch-execution>
ExecutionResults XML:
<execution-results>
<result identifier='outBlue'>
<org.drools.Car>
<type>Blue</type>
<oldPrice>25</oldPrice>
<price>30000</price>
</org.drools.Car>
</result>
</execution-results>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.