public Object getObject() throws Exception
{
MuleConfiguration configuration = muleContext.getConfiguration();
if (configuration instanceof DefaultMuleConfiguration)
{
DefaultMuleConfiguration defaultConfig = (DefaultMuleConfiguration) configuration;
defaultConfig.setDefaultResponseTimeout(config.getDefaultResponseTimeout());
defaultConfig.setDefaultTransactionTimeout(config.getDefaultTransactionTimeout());
defaultConfig.setShutdownTimeout(config.getShutdownTimeout());
defaultConfig.setUseExtendedTransformations(config.useExtendedTransformations());
defaultConfig.setFlowEndingWithOneWayEndpointReturnsNull(config.isFlowEndingWithOneWayEndpointReturnsNull());
defaultConfig.setDefaultExceptionStrategyName(config.getDefaultExceptionStrategyName());
defaultConfig.setEnricherPropagatesSessionVariableChanges(config.isEnricherPropagatesSessionVariableChanges());
defaultConfig.setExtensions(config.getExtensions());
defaultConfig.setUseHttpTransportByDefault(config.useHttpTransportByDefault());
validateDefaultExceptionStrategy();
return configuration;
}
else
{