RawRabbit icon indicating copy to clipboard operation
RawRabbit copied to clipboard

2.0 docs are not correct

Open charconstpointer opened this issue 5 years ago • 0 comments

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'

charconstpointer avatar Aug 20 '19 09:08 charconstpointer