private Run ( int messageCount, int runtime, int timeOut, int workerCount, int readerCount, int queueSize, bool useTransactions, int messageType ) : void | ||
messageCount | int | |
runtime | int | |
timeOut | int | |
workerCount | int | |
readerCount | int | |
queueSize | int | |
useTransactions | bool | |
messageType | int | |
Результат | void |
private async Task RunConsumer(string queueName, int messageCount, int runtime, int timeOut, int workerCount, int readerCount, int queueSize, bool useTransactions, bool enableChaos, string schema, int messageType) { var consumer = new SimpleConsumerAsync(); await consumer.Run(messageCount, runtime, timeOut, workerCount, readerCount, queueSize, useTransactions, messageType, enableChaos, schema, queueName).ConfigureAwait(false); }
private void RunConsumer(int messageCount, int runtime, int timeOut, int workerCount, int readerCount, int queueSize, bool useTransactions, int messageType, ITaskFactory factory) { var queue = new SimpleConsumerAsync(); queue.Run(messageCount, runtime, timeOut, workerCount, readerCount, queueSize, useTransactions, messageType, factory); }