Giter Site home page Giter Site logo

Comments (7)

michaelklishin avatar michaelklishin commented on July 23, 2024

So RPCServer.cs already uses an eventing consumer but its client needs updating.

from rabbitmq-tutorials.

cecilphillip avatar cecilphillip commented on July 23, 2024

The rpc client code still uses QueueingBasicConsumer in the .NET sample. What should we be using since it's deprecated?

from rabbitmq-tutorials.

michaelklishin avatar michaelklishin commented on July 23, 2024

Any other consumer implementation.

from rabbitmq-tutorials.

cecilphillip avatar cecilphillip commented on July 23, 2024

@michaelklishin ended up swapping out QueuingBasicConsumer for a Subscription. Since QueuingBasicConsumer is deprecated, maybe Subscription would be a good replacement for the RPC Tutorial.

If that makes sense, I'd be willing to submit a PR to update the docs.

from rabbitmq-tutorials.

michaelklishin avatar michaelklishin commented on July 23, 2024

Subscription implements the same idea as QueueingBasicConsumer.

QueueingBasicConsumer has absolutely no reason to exist in this day and age of the .NET client. It is not supported by automatic connection recovery and really hard to use once you consider more things than the happy path.

While Subscription a.t.m. uses an EventingBasicConsumer, the entire messagingpatterns isn't much more than a set of really old (8-9 years?) examples. I well may follow QueueingBasicConsumer one day, although not as obviously broken.

from rabbitmq-tutorials.

cecilphillip avatar cecilphillip commented on July 23, 2024

Thank you for your replies. I guess I'm just trying to figure out what the recommended approach to doing request/response with the dotnet-client would be.

from rabbitmq-tutorials.

michaelklishin avatar michaelklishin commented on July 23, 2024

Addressed in #148.

from rabbitmq-tutorials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.