.net - EasyNetQ - EasyNetQ.Topology.Queue -


Can someone explain the use of the manufacturer's parameter isExclusive for the type of EasyNetQ.Topology May be .Queue.

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:

  // throws if queue queue queue = advancedbus.QueueDeclare ("my.queue .name ", inactive = true) does not exist; AdvancedBus.QueueDelete (queue);   

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).

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -