Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public ConsumerRunner( IRabbitMQClient client, IServiceProvider provider, RabbitConsumer consumer, QueueInfo queue, RabbitOptions rabbitOptions) { Client = client; Logger = provider.GetService <ILogger <ConsumerRunner> >(); serializer = provider.GetService <ISerializer>(); channel = provider.GetService <IChannel <BasicDeliverEventArgs> >(); channel.BindConsumer(Executer); Consumer = consumer; Queue = queue; this.rabbitOptions = rabbitOptions; }