Reputation: 1292
We are planning to use azure service bus queue along with topic/subscription.
We have multiple subscriptions for a given topic with different filter conditions.
My question is can we change the filter of subscription dynamically once subscription is created? How can I change the filter condition for subscription once it is created? I cannot find any methods which allows this? The only option I see is delete subscription and recreate it. Any idea how to change filter without deleting subscription?
Upvotes: 6
Views: 4293
Reputation: 24895
You can use AddRule and RemoveRule on SubscriptionClient to modify the filters in a subscription.
Resources:
Upvotes: 15
Reputation: 2135
I cant be sure it works but if anything will allow you to edit a filter it will be the Service Bus explorer from Paolo http://code.msdn.microsoft.com/windowsazure/Service-Bus-Explorer-f2abca5a
More details in this blog post on it: http://windowsazurecat.com/2011/07/exploring-topics-and-queues-by-building-a-service-bus-explorer-toolpart-1/
Can you create a new one and delete the old one, it is pub/sub after all?
HTH
Upvotes: 2