skip to Main Content

Create a topic with authorization rule using azure-messaging-servicebus

I'm trying to create a topic using ServiceBusAdministrationClient connected through a namespace's root manage access key (com.azure:azure-messaging-servicebus:7.8.0) def createOptions = new CreateTopicOptions() def authRule = new SharedAccessAuthorizationRule(authRuleName, [AccessRights.SEND, AccessRights.LISTEN]) createOptions.authorizationRules.add(authRule) def topicProps = administrationClient.createTopic(topicName, createOptions) but there are no AuthorizationRules…

VIEW QUESTION
Back To Top
Search