.net - EasyNetQ - EasyNetQ.Topology.Queue -
Can someone explain the use of the manufacturer's parameter Note: This type should be done immediately to remove a queue using the Advanced API. " Special queues can only be delivered to the current connection, and When that connection closes, it is removed. The deactivation of a special quote is not allowed by other connections. " It is a good idea to check that the queue is present before it is removed, making a passive declaration (which will not create a queue if it does not exist) will return an IQueue frequency You can use it to remove and you do not have to worry about the isExclusive parameter: On one side In the IQuue, the specific parameters of IQueue are not used in the IAdvancedBus.Delete (..) method, so you can ignore it (with the warning that it can turn into future versions). isExclusive for the type of EasyNetQ.Topology May be .Queue.
// throws if queue queue queue = advancedbus.QueueDeclare ("my.queue .name ", inactive = true) does not exist; AdvancedBus.QueueDelete (queue);
Comments
Post a Comment