That posting is already out of date, use the javadocs and PipelineFactory:I'm trying to use Smooks to populate my Drools internal data model as per the blog posting at http://blog.athico.com/2008/07/drools-smooks-data-loader.html, but it's not quite working out for me. In that posting, there is the following line of code: DroolsSmooks loader = new DroolsSmooks( session, smooks, conf ); I believe this line is a typo (there is no class that I can find called "DroolsSmooks", but I'm not sure what it should be. I've found a test case online that refers to a class called "DroolsSmooksStatelessSession", but that doesn't resolve the reference either. Does anyone have a sample program that uses the Smooks data loader that I can follow and get working?
static Transformer |
newSmooksFromSourceTransformer(org.milyn.Smooks smooks,
String rootId)
Transforms from Source to Pojo using Smooks, the resulting pojo is set as the propagating object. |
static Transformer |
newSmooksToSourceTransformer(org.milyn.Smooks smooks)
Transforms from Pojo to Source using Smooks, the resulting Source is set as the propagating object // Instantiate Smooks with the config... |
Regards, Dave _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users