--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/8048f714-1662-4a30-8ab9-e535f7aea991%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/CAAqUTbmS6FSCfjCmgbs_rMW5%3DSUTQ9gxVpu5dxyBj7YUA0oshw%40mail.gmail.com.
You can create a receive endpoint that doesn't have a queue name and a dynamic one will be generated. But unfortunately the subscriptions will be retained in the topic after shut down and it ends up filling the topic subscriptions until the size quota is reached. And then the topic no longer accepts messages.So try to use a static one based on something list role name instance number or something to that effect. Then each instance has its own. And monitor monitor monitor.I'll be adding dynamic subscriptions in a subsequent release of MassTransit it's on the backlog.__
Chris Patterson
With RabbitMQ you can define a temp queue name (http://stackoverflow.com/questions/30760108/masstransit-temporary-queue), I don't know if this has been implemented for Azure Service Bus. Or you could use the hostname, which I'm assuming is unique, for the queue name.
On Tue, May 31, 2016 at 8:09 PM Matt Honeycutt <mbhon...@gmail.com> wrote:
Good evening!--I have an Azure Website that keeps an in-memory cache of some data, and I've got it where the website will receive messages via MassTransit when the cached data changes in the backend so that the cache can be updated. That works fine as long as there is only a single instance of the site. Any recommendations on how I'd handle queue naming so that it works nicely with auto-scaling? Right now, I've got it where the queue name is pulled from the web.config file, but I don't want the website instances to operate as competing consumers in this case. Each instance will need to receive a copy of the message so that it can update its internal cache, so each will need a unique (but consistent) queue name.I am using MT with Azure Service bus in this instance.Thoughts or suggestions?
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/8048f714-1662-4a30-8ab9-e535f7aea991%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-----Travis
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.