我正尝试在java中订阅Azure服务总线主题。为此,我需要创建一个ServiceBusContract实例。在每个例子中,我发现,他们这样做是这样的:在java中使用Azure服务总线
String issuer = "<obtained from portal>";
String key = "<obtained from portal>";
Configuration config =
ServiceBusConfiguration.configureWithWrapAuthentication(
“HowToSample”,
issuer,
key);
ServiceBusContract service = ServiceBusService.create(config);
来自:link
但是,如果你在javadoc看看,有没有configureWithWrapAuthentication方法有3字符串参数!
我正在使用0.3.1版本的azure api jar。
如何使用这些新的(?)configureWithWrapAuthentication方法创建ServiceBusContract?还是有我忽略的东西?
我只是在浏览[link](https://github.com/WindowsAzure/azure-sdk-for-java/pull/151/files)的时候偶然发现了这个,但我仍然接受了你的回答。你们应该真的把关于serviceBusRootUri和wrapRootUri的信息包含在javadoc中,因为它没有。无论如何,谢谢你的回答! – rataticsd