c# - Masstransit temporary queue -


i'm developing client application use masstransit , rabbitmq. on application start i'm creating new queue unique name communication server applications via masstransit(request/response model). on application closing should delete queue, if client application crushes queue present on rabbitmq.

is possible create temporary queue via masstransit rabbitmq automatically delete when client disconnects queue?

you can create temporary queue using ?temporary=true query string parameter.

with rabbitmq, can dynamically create queue name using * queue name. such as:

x.receivefrom("rabbitmq://localhost/vhost/*?temporary=true"); 

this create temporary queue randomly generated name deleted when connection closed.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -