public void runWithAppManager(AppExecutor executor) throws Exception {
final MPSPluginConfigValue mps = new MPSPluginConfigValue();
if (messageRecipientInfo != null) {
mps.messageRecipientInfo = messageRecipientInfo;
}
MPSAppConfigurator appConf = new MPSAppConfigurator();
appConf.setPluginConfigValue(mps);
// Set appConf in AppManager
volantisBean = new Volantis();
ServletContextStub servletContext = new ServletContextStub();
AppManager am = new AppManager(volantisBean, servletContext);
am.setAppConf(appConf);