Пример #1
0
        public static FromDescriptor From(string broker, params string[] brokers)
        {
            var configuration = new ManagedShovelConfiguration {
                Sources = new[] { broker }.Concat(brokers).ToArray()
            };

            return(new FromDescriptor(configuration));
        }
Пример #2
0
 internal FromDescriptor(ManagedShovelConfiguration configuration)
 {
     this.configuration = configuration;
 }
Пример #3
0
 internal ToDescriptor(ManagedShovelConfiguration configuration)
 {
     this.configuration = configuration;
 }
Пример #4
0
        public static FromDescriptor From(string broker, params string[] brokers)
        {
            var configuration = new ManagedShovelConfiguration {Sources = new[] {broker}.Concat(brokers).ToArray()};

            return new FromDescriptor(configuration);
        }
Пример #5
0
 internal ManagedShovel(ManagedShovelConfiguration configuration)
 {
     this.configuration = configuration;
     sources = new RollingEnumerator<string>(configuration.Sources);
     destinations = new RollingEnumerator<string>(configuration.Destinations);
 }
Пример #6
0
 internal ManagedShovel(ManagedShovelConfiguration configuration)
 {
     this.configuration = configuration;
     sources            = new RollingEnumerator <string>(configuration.Sources);
     destinations       = new RollingEnumerator <string>(configuration.Destinations);
 }
Пример #7
0
 internal SourceDeclarationsDescriptor(ManagedShovelConfiguration configuration)
 {
     this.configuration = configuration;
 }
 internal SourceDeclarationsDescriptor(ManagedShovelConfiguration configuration)
 {
     this.configuration = configuration;
 }