本文整理匯總了Java中com.microsoft.windowsazure.services.servicebus.ServiceBusService類的典型用法代碼示例。如果您正苦於以下問題:Java ServiceBusService類的具體用法?Java ServiceBusService怎麽用?Java ServiceBusService使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ServiceBusService類屬於com.microsoft.windowsazure.services.servicebus包,在下文中一共展示了ServiceBusService類的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: createServiceBusContract
import com.microsoft.windowsazure.services.servicebus.ServiceBusService; //導入依賴的package包/類
private ServiceBusContract createServiceBusContract()
{
LOG.debug("createServiceBusContract start...");
ServiceBusContract service = null;
if (properties.getNamespaceName() != null)
{
com.microsoft.windowsazure.Configuration config = new com.microsoft.windowsazure.Configuration();
String connectionString = properties.buildServiceBusConnectString();
ServiceBusConfiguration.configureWithConnectionString(null, config, connectionString);
service = ServiceBusService.create(config);
}
return service;
}
開發者ID:pivotal-partner-solution-architecture,項目名稱:azure-service-broker-client,代碼行數:15,代碼來源:AzureServiceBusAutoConfiguration.java