I am trying to subscribe to the Azure Service Bus Bus topic in java. To do this, I need to create an instance of ServiceBusContract. In each example I found, they do it like this:
String issuer = "<obtained from portal>"; String key = "<obtained from portal>"; Configuration config = ServiceBusConfiguration.configureWithWrapAuthentication( "HowToSample", issuer, key); ServiceBusContract service = ServiceBusService.create(config);
from: link
However, if you look at javadoc , there is no configureWithWrapAuthentication method with three String parameters!
I am using a jar of version 0.3.1 for the azure api.
How to create a ServiceBusContract using these new (?) ConfigureWithWrapAuthentication methods? Or is there something I forgot?
source share