@Override
protected RouteBuilder createRouteBuilder() throws Exception {
routeBuilder = new RouteBuilder() {
public void configure() throws Exception {
JaxbDataFormat def = new JaxbDataFormat();
def.setPrettyPrint(true);
def.setContextPath("org.drools.pipeline.camel");
from("direct:test-with-session").policy(new DroolsPolicy()).
unmarshal(def).to("drools:node/ksession1").marshal(def);
}
};