Table of Contents

Interface IPublishTopologyConfigurator

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll
public interface IPublishTopologyConfigurator : IPublishTopology, IPublishTopologyConfigurationObserverConnector, ISpecification
Inherited Members
Extension Methods

Methods

AddMessagePublishTopology<T>(IMessagePublishTopology<T>)

Add a Publish topology for a specific message type

void AddMessagePublishTopology<T>(IMessagePublishTopology<T> topology) where T : class

Parameters

topology IMessagePublishTopology<T>

The topology

Type Parameters

T

The message type

GetMessageTopology(Type)

Returns the specification for the message type

IMessagePublishTopologyConfigurator GetMessageTopology(Type messageType)

Parameters

messageType Type

Returns

IMessagePublishTopologyConfigurator

GetMessageTopology<T>()

Returns the specification for the message type

IMessagePublishTopologyConfigurator<T> GetMessageTopology<T>() where T : class

Returns

IMessagePublishTopologyConfigurator<T>

Type Parameters

T

The message type

TryAddConvention(IPublishTopologyConvention)

Adds a convention to the topology, which will be applied to every message type requested, to determine if a convention for the message type is available.

bool TryAddConvention(IPublishTopologyConvention convention)

Parameters

convention IPublishTopologyConvention

The Publish topology convention

Returns

bool