azureservicebus - Deleting dead topics in Azure Service Bus -


i've tried homework on issue no searches can make have gotten me closer answer. closest hit detect , delete orphaned queues, topics, or subscriptions on azure service bus.

my scenario:

i have multiple services running (standard win service). @ startup these processes starts subscribe given topic in azure service bus. let's call topic "messages".

when service shut down unsubcribes in nice way.

but stuff happens , service crashes, causing unsubscription fail , subscription left hanging.

my questions:

1) i'm seeing, each dead topic subscription counts when message sent topic. if no 1 ever going pick up. fact or fiction?

2) there anyway remove subscriptions haven't been checked while, example last 24h? preferrably power shell script?

i've raised issue directly microsoft haven't received answer yet. surely, can't first experience this. i'll update if third party info.

thanks

johan

on 1) question, yes messages sent topic sent matching subscription, if idle (based on own logic). subscription permanent artifact create open receive messages, when no services dequeuing messages.

to clean out subscriptions, can use accessedat property of subscriptiondescription , use check when last read queue (by receive operation). http://msdn.microsoft.com/en-us/library/microsoft.servicebus.messaging.subscriptiondescription.accessedat.aspx

if use logic, can build own 'cleansing' mechanisms

hth


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -