Show / Hide Table of Contents

Class TopicClientDispatcherFactory

Inheritance
System.Object
TopicClientDispatcherFactory
Namespace: AzureFromTheTrenches.Commanding.AzureServiceBus
Assembly: AzureFromTheTrenches.Commanding.AzureServiceBus.dll
Syntax
public static class TopicClientDispatcherFactory : object

Methods

| Improve this Doc View Source

CreateCommandDispatcherFactory(ServiceBusConnectionStringBuilder, IServiceBusMessageSerializer)

Creates a topic command dispatcher factory using the connection string

Declaration
public static Func<ICommandDispatcher> CreateCommandDispatcherFactory(ServiceBusConnectionStringBuilder builder, IServiceBusMessageSerializer serializer = null)
Parameters
Type Name Description
ServiceBusConnectionStringBuilder builder

Connection string builder

IServiceBusMessageSerializer serializer

An optional serializer to use, if unspecified the default JSON serializer will be used

Returns
Type Description
Func<ICommandDispatcher>

A command dispatcher factory that will send commands to the topic

| Improve this Doc View Source

CreateCommandDispatcherFactory(String, String, IServiceBusMessageSerializer)

Create a command dispatcher factory using the connection string and topic name information

Declaration
public static Func<ICommandDispatcher> CreateCommandDispatcherFactory(string connectionString, string topicName, IServiceBusMessageSerializer serializer = null)
Parameters
Type Name Description
System.String connectionString

Sevice bus connection string

System.String topicName

The name of the topic

IServiceBusMessageSerializer serializer

An optional serializer to use, if unspecified the default JSON serializer will be used

Returns
Type Description
Func<ICommandDispatcher>

A command dispatcher factory that will send commands to the topic

  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall