public abstract class ServiceBusConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_STRING
Defines the configuration connection string constant.
|
static String |
SAS_KEY
Defines the configuration SAS Access key value constant.
|
static String |
SAS_KEY_NAME
Defines the configuration SAS Access Key name constant.
|
static String |
URI
Defines the configuration URI constant.
|
static String |
WRAP_NAME
Defines the configuration wrap name constant.
|
static String |
WRAP_PASSWORD
Defines the configuration wrap password constant.
|
static String |
WRAP_URI
Defines the configuration wrap URI constant.
|
| Constructor and Description |
|---|
ServiceBusConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static com.microsoft.windowsazure.Configuration |
configureWithConnectionString(String profile,
com.microsoft.windowsazure.Configuration configuration,
String connectionString)
Creates a service bus configuration using the specified connection
string.
|
static com.microsoft.windowsazure.Configuration |
configureWithSASAuthentication(com.microsoft.windowsazure.Configuration configuration,
String namespace,
String sasKeyName,
String sasKey,
String serviceBusRootUri)
Create a service bus configuration using the given SAS authentication information.
|
static com.microsoft.windowsazure.Configuration |
configureWithSASAuthentication(String profile,
com.microsoft.windowsazure.Configuration configuration,
String namespace,
String sasKeyName,
String sasKey,
String serviceBusRootUri)
Create a service bus configuration using the given SAS authentication information.
|
static com.microsoft.windowsazure.Configuration |
configureWithSASAuthentication(String namespace,
String sasKeyName,
String sasKey,
String serviceBusRootUri)
Create a service bus configuration using the given SAS authentication information.
|
static com.microsoft.windowsazure.Configuration |
configureWithWrapAuthentication(com.microsoft.windowsazure.Configuration configuration,
String namespace,
String authenticationName,
String authenticationPassword,
String serviceBusRootUri,
String wrapRootUri)
Creates a service bus configuration using the specified configuration,
namespace, name, and password.
|
static com.microsoft.windowsazure.Configuration |
configureWithWrapAuthentication(String profile,
com.microsoft.windowsazure.Configuration configuration,
String namespace,
String authenticationName,
String authenticationPassword,
String serviceBusRootUri,
String wrapRootUri)
Creates a service bus configuration using the specified profile,
configuration, namespace, name, and password.
|
static com.microsoft.windowsazure.Configuration |
configureWithWrapAuthentication(String namespace,
String authenticationName,
String authenticationPassword,
String serviceBusRootUri,
String wrapRootUri)
Creates a service bus configuration using the specified namespace, name,
and password.
|
public static final String CONNECTION_STRING
public static final String URI
public static final String WRAP_URI
public static final String WRAP_NAME
public static final String WRAP_PASSWORD
public static final String SAS_KEY_NAME
public static final String SAS_KEY
public static com.microsoft.windowsazure.Configuration configureWithWrapAuthentication(String namespace, String authenticationName, String authenticationPassword, String serviceBusRootUri, String wrapRootUri)
namespace - A String object that represents the namespace.authenticationName - A String object that represents the
authentication name.authenticationPassword - A String object that represents the
authentication password.serviceBusRootUri - A String object containing the base URI that is
added to your Service Bus namespace to form the URI to connect
to the Service Bus service.
To access the default public Azure service, pass
".servicebus.windows.net"wrapRootUri - A String object containing the base URI that is
added to your Service Bus namespace to form the URI to get an
access token for the Service Bus service.
To access the default public Azure service, pass
"-sb.accesscontrol.windows.net/WRAPv0.9"Configuration object that can be used when
creating an instance of the ServiceBusService class.public static com.microsoft.windowsazure.Configuration configureWithWrapAuthentication(com.microsoft.windowsazure.Configuration configuration,
String namespace,
String authenticationName,
String authenticationPassword,
String serviceBusRootUri,
String wrapRootUri)
configuration - A previously instantiated Configuration object.namespace - A String object that represents the namespace.authenticationName - A String object that represents the
authentication name.authenticationPassword - A String object that represents the
authentication password.serviceBusRootUri - A String object containing the base URI that is
added to your Service Bus namespace to form the URI to connect
to the Service Bus service.
To access the default public Azure service, pass
".servicebus.windows.net"wrapRootUri - A String object containing the base URI that is
added to your Service Bus namespace to form the URI to get an
access token for the Service Bus service.
To access the default public Azure service, pass
"-sb.accesscontrol.windows.net/WRAPv0.9"Configuration object that can be used when
creating an instance of the ServiceBusService class.public static com.microsoft.windowsazure.Configuration configureWithWrapAuthentication(String profile, com.microsoft.windowsazure.Configuration configuration, String namespace, String authenticationName, String authenticationPassword, String serviceBusRootUri, String wrapRootUri)
profile - A String object that represents the profile.configuration - A previously instantiated Configuration object.namespace - A String object that represents the namespace.authenticationName - A String object that represents the
authentication name.authenticationPassword - A String object that represents the
authentication password.serviceBusRootUri - A String object containing the base URI that is
added to your Service Bus namespace to form the URI to connect
to the Service Bus service.
To access the default public Azure service, pass
".servicebus.windows.net"wrapRootUri - A String object containing the base URI that is
added to your Service Bus namespace to form the URI to get an
access token for the Service Bus service.
To access the default public Azure service, pass
"-sb.accesscontrol.windows.net/WRAPv0.9"Configuration object that can be used when
creating an instance of the ServiceBusService class.public static com.microsoft.windowsazure.Configuration configureWithSASAuthentication(String namespace, String sasKeyName, String sasKey, String serviceBusRootUri)
namespace - A String object that represents the namespace.sasKeyName - A String object that contains the SAS key name.sasKey - A String object that contains the SAS key.serviceBusRootUri - A String object containing the base URI that is
added to your Service Bus namespace to form the URI to connect
to the Service Bus service.
To access the default public Azure service, pass
".servicebus.windows.net"Configuration object that can be used when
creating an instance of the ServiceBusService class.public static com.microsoft.windowsazure.Configuration configureWithSASAuthentication(com.microsoft.windowsazure.Configuration configuration,
String namespace,
String sasKeyName,
String sasKey,
String serviceBusRootUri)
configuration - A previously instantiated Configuration object.namespace - A String object that represents the namespace.sasKeyName - A String object that contains the SAS key name.sasKey - A String object that contains the SAS key.serviceBusRootUri - A String object containing the base URI that is
added to your Service Bus namespace to form the URI to connect
to the Service Bus service.
To access the default public Azure service, pass
".servicebus.windows.net"Configuration object that can be used when
creating an instance of the ServiceBusService class.public static com.microsoft.windowsazure.Configuration configureWithSASAuthentication(String profile, com.microsoft.windowsazure.Configuration configuration, String namespace, String sasKeyName, String sasKey, String serviceBusRootUri)
profile - A String object that represents the namespace.configuration - A previously instantiated Configuration object.namespace - A String object that represents the namespace.sasKeyName - A String object that contains the SAS key name.sasKey - A String object that contains the SAS key.serviceBusRootUri - A String object containing the base URI that is
added to your Service Bus namespace to form the URI to connect
to the Service Bus service.
To access the default public Azure service, pass
".servicebus.windows.net"Configuration object that can be used when
creating an instance of the ServiceBusService class.public static com.microsoft.windowsazure.Configuration configureWithConnectionString(String profile, com.microsoft.windowsazure.Configuration configuration, String connectionString)
profile - A String object that represents the profile.configuration - A previously instantiated Configuration object.connectionString - A String object the contains the connection
string for the service bus connection information.Configuration object that can be used when
creating an instance of the ServiceBusService class./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/