C# Class strICT.InFlow.WFM.Utilities.ServicebusUtils

Management functions for the service bus
Afficher le fichier Open project: InFlowBPM/InFlow-BPMS

Méthodes publiques

Méthode Description
ServicebusUtils ( string serverFQDN, string serviceNamespace, string username, string password ) : Microsoft.ServiceBus

constructor

checkQueueExists ( string name ) : bool

check if servicebus queue exists

createQueue ( string name, bool overwrite ) : void

create new servicebus queue

createQueueClientforQueue ( string queueName ) : QueueClient

create new QueueClient

deleteQueue ( string name ) : void

delete servicebus queue

Private Methods

Méthode Description
initNamespaceManager ( ) : void

initialize namespaceManager

initSecurityTokenprovider ( ) : void

create security token

initServiceBusConnectionStringBuilder ( ) : void

Create servicebus connectionstring

Method Details

ServicebusUtils() public méthode

constructor
public ServicebusUtils ( string serverFQDN, string serviceNamespace, string username, string password ) : Microsoft.ServiceBus
serverFQDN string
serviceNamespace string
username string
password string
Résultat Microsoft.ServiceBus

checkQueueExists() public méthode

check if servicebus queue exists
public checkQueueExists ( string name ) : bool
name string
Résultat bool

createQueue() public méthode

create new servicebus queue
public createQueue ( string name, bool overwrite ) : void
name string name of the queue
overwrite bool overwrite existing queue?
Résultat void

createQueueClientforQueue() public méthode

create new QueueClient
public createQueueClientforQueue ( string queueName ) : QueueClient
queueName string Name of the queue
Résultat QueueClient

deleteQueue() public méthode

delete servicebus queue
public deleteQueue ( string name ) : void
name string
Résultat void