[rules-users] XStream, Pipeline

Mark Proctor mproctor at codehaus.org
Sun Mar 14 23:08:33 EDT 2010


On 11/03/2010 13:54, Bertrand Grottier wrote:
>             XStream xstream = new XStream();
>             Transformer transformer = 
> PipelineFactory.newXStreamFromXmlTransformer( xstream );
Do not create the XStream yourself, use the BatchExecutionHelper, as it 
populates XStream with the necessary convertors and aliases. see the 
following unit test for more help:
http://fisheye.jboss.org/browse/~raw,r=31115/JBossRules/trunk/drools-pipeline/drools-transformer-xstream/src/test/java/org/drools/runtime/pipeline/impl/XStreamBatchExecutionTest.java

Mark




More information about the rules-users mailing list