private static Configure SetupTimeoutManager(this Configure config)
        {
            timeoutManagerEnabled = true;

            TimeoutManagerAddress = config.GetTimeoutManagerAddress();
            config.Configurer.ConfigureComponent <DefaultTimeoutManager>(DependencyLifecycle.SingleInstance);

            return(config);
        }
Пример #2
0
        static Configure SetupTimeoutManager(this Configure config)
        {
            TimeoutManagerEnabled = true;

            TimeoutManagerAddress = config.GetTimeoutManagerAddress();

            config.Configurer.ConfigureComponent <DefaultTimeoutManager>(DependencyLifecycle.SingleInstance);
            config.Configurer.ConfigureComponent <TimeoutRunner>(DependencyLifecycle.SingleInstance);
            config.Configurer.ConfigureComponent <TimeoutTransportMessageHandler>(DependencyLifecycle.InstancePerCall);

            return(config);
        }