Use a ByteArrayInputStream based on that String
and give it to:
org.drools.planner.config.XmlSolverFactory#configure(InputStream)

Op 22-01-13 15:51, André Fróes schreef:
Can I provide the plain xml code to a SolverFactory?

SolverFactory solverFactory = new XmlSolverFactory(<<xmlHere>>);

I know that I can provide the path to a config file.


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users