Create internal exchange



  • Using Nuget-packet RabbitMQ.Client version 6.2.2

    I'm connecting to amq.rabbitmq.event, created by Event Exchange Plugin. Couldn't find a software function to connect with the internal = true.

    Method IModel.ExchangeDeclare does not overload with internal parameters. I tried to pass the parameter with the arguments (this is different versions that I've tried, and I thought there was an exact check on the appropriate design text):

    arguments = new Dictionary<string, object> { {"internal", true} };
    arguments = new Dictionary<string, object> { {"internal", "true"} };
    arguments = new Dictionary<string, object> { {"Internal", true} };
    arguments = new Dictionary<string, object> { {"Internal", "true"} };
    

    But all the options created Exchange are arguments, and I need an internal parameter. Which I found in Go's language and can be seen in the interface in the browser (from the relevant flame)



  • As it came to the end for some reason Nuget Package RabbitMQ. Client does not contain methods for managing the internal parameter, different from the Go language, which has such overloading.

    The baseline was not to swing with connections and make new connections within the OPS. However, due to this particularity, it had to be checked for the configuration of the parameter and to pass the ExchangeDeclare under the respective flag.

    I guess I misunderstood the RabbitMQ principle, because I don't need to get involved in this case, it'll be created and the RabbitMQ itself works with it.

    There's only a misunderstanding why this opportunity is for other languages.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2