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
topologyIMessagePublishTopology<T>The topology
Type Parameters
TThe message type
GetMessageTopology(Type)
Returns the specification for the message type
IMessagePublishTopologyConfigurator GetMessageTopology(Type messageType)
Parameters
messageTypeType
Returns
GetMessageTopology<T>()
Returns the specification for the message type
IMessagePublishTopologyConfigurator<T> GetMessageTopology<T>() where T : class
Returns
Type Parameters
TThe 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
conventionIPublishTopologyConventionThe Publish topology convention