Using Azure Service Bus in java Using Azure Service Bus in java azure azure

Using Azure Service Bus in java


Here are the parameters that we included in the configuration method.

String namespace, namespace is the name of your service bus subscription, such as johndoeservicebus. String authenticationName, authentication name is the name of the login for WRAP, typically, it is called owner. String authenticationPassword, authentication password is the key which you can obtain from your Azure Portal. String serviceBusRootUri, service bus root URI is the root of the service bus service, for united states, it is β€œ.servicebus.windows.net”. String wrapRootUri, WRAP root Uri is the root of the WRAP authentication service, in united states, it is β€œ-sb.accesscontrol.windows.net/WRAPv0.9”.


Apprently there is an issue with the above, tried it and it no longer works. According to github there is an open issue now:

https://github.com/Azure/azure-sdk-for-java/issues/437


The team has triaged this issue and worked on it. We've also reached out to the service bus team on the change from ACS to SAS, and to our documentation team so that we have a full-stop plan for dealing with this change, as it's not just a code issue, it's a communication issue.

This fix will be in the next release of the Java SDK, based on everything I'm hearing from the team.