public Class getObjectType() {
return RunWithErrorHandlerMessageProcessor.class;
}
public Object getObject() throws Exception {
RunWithErrorHandlerMessageProcessor processor = new RunWithErrorHandlerMessageProcessor(processors);
processor.setExceptionHandler(exceptionStrategy);
return processor;
}