protected AbstractStateCompositeProcessor createProcessor(HierarchicalConfiguration config) throws Exception {
CamelCompositeProcessor processor = new CamelCompositeProcessor();
try {
processor.setLog(LoggerFactory.getLogger("MockLog"));
processor.setCamelContext(new DefaultCamelContext());
processor.setMailetLoader(new MockMailetLoader());
processor.setMatcherLoader(new MockMatcherLoader());
processor.setMailetContext(new MockMailetContext());
processor.configure(config);
processor.init();
return processor;