internal void ApplyConfiguration(RabbitMQReaderOptions readerOptions) { readerOptions.IncludeProcessCommandLineInQueueArguments = IncludeProcessCommandLineInQueueArguments; if (DequeueThrottlerFactory != null) { readerOptions.DequeueThrottlerFactory = (IDequeueThrottlerFactory) Activator.CreateInstance(DequeueThrottlerFactory); } }
private RabbitMQReaderOptions(RabbitMQReaderOptions rabbitMQReaderOptions) { IncludeProcessCommandLineInQueueArguments = rabbitMQReaderOptions.IncludeProcessCommandLineInQueueArguments; DequeueThrottlerFactory = rabbitMQReaderOptions.DequeueThrottlerFactory; }