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

Management functions for the service bus
Exibir arquivo Open project: InFlowBPM/InFlow-BPMS

Public Methods

Method 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

Method Description
initNamespaceManager ( ) : void

initialize namespaceManager

initSecurityTokenprovider ( ) : void

create security token

initServiceBusConnectionStringBuilder ( ) : void

Create servicebus connectionstring

Method Details

ServicebusUtils() public method

constructor
public ServicebusUtils ( string serverFQDN, string serviceNamespace, string username, string password ) : Microsoft.ServiceBus
serverFQDN string
serviceNamespace string
username string
password string
return Microsoft.ServiceBus

checkQueueExists() public method

check if servicebus queue exists
public checkQueueExists ( string name ) : bool
name string
return bool

createQueue() public method

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

createQueueClientforQueue() public method

create new QueueClient
public createQueueClientforQueue ( string queueName ) : QueueClient
queueName string Name of the queue
return QueueClient

deleteQueue() public method

delete servicebus queue
public deleteQueue ( string name ) : void
name string
return void