问题
Is it possible to create a Subscription in an existing Topic programmatically in Azure Service Bus using the REST API?
I would like to create one on the fly and then delete programmatically as well.
回答1:
Yes, you can. Please look at the REST API documentation here:
Create Subscription: http://msdn.microsoft.com/en-us/library/windowsazure/hh780748.aspx
Delete Subscription: http://msdn.microsoft.com/en-us/library/windowsazure/hh780740.aspx
For a full list of REST API operation on Service Bus: http://msdn.microsoft.com/en-us/library/windowsazure/hh780776.aspx.
来源:https://stackoverflow.com/questions/18665243/create-subscription-in-a-topic-programatically-using-windows-azure-service-bus-r