@Test
public void executeStatefulRulesWithFireUntilHalt() throws InterruptedException, RuleServiceException
{
Map<String,Object> globals = getGlobalsWithDestAndMessage();
final RuleInfo ruleInfo = new RuleInfoBuilder("JBossESBRules.drl")
.globals(globals).ruleFireMethod(FIRE_UNTIL_HALT.name()).build();
StatefulRuleInfoImpl waitRuleInfo = new StatefulRuleInfoImpl(ruleInfo, false, false);
// this kicks off a new thread because of FIRE_UNTIL_HALT
ruleService.executeStatefulRules(waitRuleInfo, message);