StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
List list = new ArrayList();
ksession.setGlobal( "list", list );
RoutingMessage m = new RoutingMessage();
m.setRoutingValue("R1:messageBody:R2");
ksession.insert(m);
ksession.fireAllRules();
assertEquals( 6, list.size() );
assertEquals( "Message length is 17", list.get(2) );