Home > Net >  Questions about easynetQ
Questions about easynetQ

Time:10-17

 bus. The Publish (MSG, x=& gt; X.W ithTopic (MSG. MessageRouter)); 

This code does not understand, do not specify a queue already, also have no binding, released by the message is not lost?
When the specified queue bindings?

CodePudding user response:

Comrade, if you want to learn English well,
I don't play this easynetq, also can see WithTopic, this topic is
I also see out MessageRouter as well, it is routing
So do you have any questions?

As to what the bind category, don't be the rabbitmq official that document to play bad, that document, bind in fact as long as a (can even be, because you can directly in bs manager directly define the management page), the publish is just "switches, routing, release type" this a few things into

Ps: please x.W ithTopic to reference, look at the code here, the estimate is the switch inside, routing definition, (just released, regardless of the queue, he is through the routing hair drops, not through the queue name, so you only need to define a switch) additional advice on how X object definitions, estimates that he will inherit to achieve something or play some characteristics of tags to mark your mouth queues and bind configuration

CodePudding user response:

reference 1st floor wanghui0380 response:
comrade, if you want to learn English well,
I don't play this easynetq, also can see WithTopic, this topic is
I also see out MessageRouter as well, it is routing
So do you have any questions?

As to what the bind category, don't be the rabbitmq official that document to play bad, that document, bind in fact as long as a (can even be, because you can directly in bs manager directly define the management page), the publish is just "switches, routing, release type" this a few things into

Ps: please x.W ithTopic to reference, look at the code here, the estimate is the switch inside, routing definition, (just released, regardless of the queue, he is through the routing hair drops, not through the queue name, so you only need to define a switch) additional advice on how X object definitions, estimates that he will inherit to achieve something or play some characteristics of tags to mark your mouth queues and bind configuration
thank you very, testing found that when the subscription queue is generated, so strange not subscribe message is lost, the design of,,,,

CodePudding user response:

His design is so play

Step, a subscription model

Publisher just released, subscribers to subscribe to, if issued a message to accord with the subscription rules, he subscribe to the

You can test the topic of the wildcard
Suppose the publish key is ABC. * if the publisher will send, his meaning is published to the prefix is ABC. All of the queue, but it's not, this message will only be sent to a key is ABC. * on the consumers of

But in the test, if the publish key is ABC. A, he'd be released to the key for the ABC. The * consumers,

This test shows that is released by consumers to subscribe to search information, rather than the publisher to take the initiative to find a queue

CodePudding user response:

Trouble ask next, easynetq is not only a topic, use the fanout
  •  Tags:  
  • C#
  • Related