public override object ConsumeLog(ConsumerSuper consumer) { var factory = new ConnectionFactory() { HostName = "localhost" }; using (var connection = factory.CreateConnection()) using (var channel = connection.CreateModel()) { DeclareQueue(channel); consumer.Consume(channel, QUEUE_NAME_SUCCESS); Console.ReadLine(); } return(null); }
public override object ConsumeLog(ConsumerSuper consumer) { ConsumeLogAux(); return(null); }
public abstract object ConsumeLog(ConsumerSuper consumer);