Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

How Do We Deal With Queue and Topic of the Same Name

$
0
0

The NamespaceManager.TopicExist call fails when there is a Queue with the same name. The following is raised when I do a NamespaceManager.TopicExist("customers") when there is a queue with the name 'customers'.

An exception of type 'Microsoft.ServiceBus.Messaging.MessagingException' occurred in Microsoft.ServiceBus.dll but was not handled in user code

Additional information: Cannot get entity 'customers' because it is not of type TopicDescription.

I see the portal won't let me create a Queue and Topic of the same name, which I wasn't expecting.

I don't care to first check for an existing Queue with the same name, is there a better way?


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>