Beispiel #1
0
 public RedisMessageProducer(
     RedisMessagingGatewayConfiguration redisMessagingGatewayConfiguration, 
     RedisMessagePublication publication = null)
 
    : base(redisMessagingGatewayConfiguration)
 {
     _publication = publication ?? new RedisMessagePublication{MakeChannels = OnMissingChannel.Create};
     MaxOutStandingMessages = _publication.MaxOutStandingMessages;
     MaxOutStandingCheckIntervalMilliSeconds = _publication.MaxOutStandingCheckIntervalMilliSeconds;
 }
        public RedisMessageProducer(
            RedisMessagingGatewayConfiguration redisMessagingGatewayConfiguration,
            RedisMessagePublication publication)

            : base(redisMessagingGatewayConfiguration)
        {
            _publication           = publication;
            MaxOutStandingMessages = _publication.MaxOutStandingMessages;
            MaxOutStandingCheckIntervalMilliSeconds = _publication.MaxOutStandingCheckIntervalMilliSeconds;
        }