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
Post a Comment