Skip to content

RabbitMQ.EventBus.AspNetCore.Butterfly

欧俊 edited this page Nov 15, 2018 · 1 revision

NuGet NuGet

使用方法

public void Configure(IApplicationBuilder app, IHostingEnvironment env, IServiceTracer tracer)
{
    if (env.IsDevelopment())
    {
        app.UseDeveloperExceptionPage();
    }
    ···
    app.RabbitMQEventBusModule(options =>
    {
        options.AddButterfly(tracer);
    });
    app.UseMvc();
}

Clone this wiki locally