常用方法
常用方法
常用方法
常用方法
static void Main(string[] args) { Bus.Initialize(sbc => { sbc.UseRabbitMq(); sbc.ReceiveFrom("rabbitmq://localhost/Demo.MessagePatterns.Client2"); //sbc.Subscribe(x => x.Consumer(() => new ReplyConsumer())); }); var client = new Client.Client("Client2"); client.Execute(); }