int status = 5;
AppContext.initConfiguration(configFileName);
AppContext.getBasicConfiguration().load(AppContext.getApacheCompositeConfig());
AppContext.getRequesterConfiguration().load(AppContext.getApacheCompositeConfig());
ListenerListConfiguration responderConfiguration = AppContext.getResponderConfiguration();
responderConfiguration.load(AppContext.getApacheCompositeConfig(), AppContext.getRequesterConfiguration());
for (ListenerConfiguration listenerConfiguration : responderConfiguration.getListenerConfigurations().values()) {
String connectionTypeString = listenerConfiguration.getConnectionType();
ConnectionType connectionType = ConnectionType.getType(connectionTypeString);
switch (connectionType) {
case DEFAULT_SERVER_CONNECTION_TYPE: