In my test, I posted the set-global command along with the rule execution
commands, like this (snippet):

List commands = new ArrayList<Command>();
commands.add(CommandFactory.newSetGlobal("logger", logger));
commands.add(CommandFactory.newInsert(fact, "outId"));  
commands.add(CommandFactory.newFireAllRules());
BatchExecutionCommand batchCommand =
CommandFactory.newBatchExecution(commands, "ksession"); 
.....etc.

(I had configured the ksession as stateless)

--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-server-empty-response-body-tp3192475p3367046.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to