pardahlman / RawRabbit

A modern .NET framework for communication over RabbitMq
MIT License
746 stars 144 forks source link

2.0 docs are not correct #404

Open charconstpointer opened 5 years ago

charconstpointer commented 5 years ago

following this example https://github.com/pardahlman/RawRabbit/blob/2.0/docs/operations/publish.md with RawRabbit.Operations.Publish installed as it says in the 2.0 docs

var message = new BasicMessage { Prop = "Hello, world!" };

await busClient.PublishAsync(message, ctx => ctx
    .UsePublishConfiguration(cfg => cfg
        .OnDeclaredExchange(e => e
            .WithName("my_topic")
            .WithType(ExchangeType.Topic)
            .WithRoutingKey("my_key"))
));

doesnt compile, Cannot resolve symbol 'WithRoutingKey'