Class QueueClientDispatcherFactory
Inheritance
System.Object
QueueClientDispatcherFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AzureFromTheTrenches.Commanding.AzureServiceBus
Assembly: AzureFromTheTrenches.Commanding.AzureServiceBus.dll
Syntax
public static class QueueClientDispatcherFactory
Methods
| Improve this Doc View SourceCreateCommandDispatcherFactory(ServiceBusConnectionStringBuilder, IServiceBusMessageSerializer)
Creates a queue command dispatcher factory using the connection string
Declaration
public static Func<ICommandDispatcher> CreateCommandDispatcherFactory(ServiceBusConnectionStringBuilder builder, IServiceBusMessageSerializer serializer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder | builder | Connection string builder |
| IServiceBusMessageSerializer | serializer | An optional serializer to use, if unspecified the default JSON serializer will be used |
Returns
| Type | Description |
|---|---|
| System.Func<ICommandDispatcher> | A command dispatcher factory that will send commands to the queue |
CreateCommandDispatcherFactory(String, String, IServiceBusMessageSerializer)
Create a command dispatcher factory using the connection string and queue name information
Declaration
public static Func<ICommandDispatcher> CreateCommandDispatcherFactory(string connectionString, string queueName, IServiceBusMessageSerializer serializer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | connectionString | Sevice bus connection string |
| System.String | queueName | The name of the queue |
| IServiceBusMessageSerializer | serializer | An optional serializer to use, if unspecified the default JSON serializer will be used |
Returns
| Type | Description |
|---|---|
| System.Func<ICommandDispatcher> | A command dispatcher factory that will send commands to the queue |