Interface IMessagePublishTopologyConfigurator<TMessage>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
Configures the Publishing of a message type, allowing filters to be applied on Publish.
public interface IMessagePublishTopologyConfigurator<TMessage> : IMessagePublishTopologyConfigurator, ISpecification, IMessagePublishTopology<TMessage>, IMessagePublishTopology where TMessage : class
Type Parameters
TMessage
- Inherited Members
- Extension Methods
Methods
Add(IMessagePublishTopology<TMessage>)
void Add(IMessagePublishTopology<TMessage> publishTopology)
Parameters
publishTopology
IMessagePublishTopology<TMessage>
AddDelegate(IMessagePublishTopology<TMessage>)
Adds a delegated configuration to the Publish topology, which is called before any topologies in this configuration.
void AddDelegate(IMessagePublishTopology<TMessage> configuration)
Parameters
configuration
IMessagePublishTopology<TMessage>
AddOrUpdateConvention<TConvention>(Func<TConvention>, Func<TConvention, TConvention>)
Returns the first convention that matches the interface type specified, to allow it to be customized and or replaced.
void AddOrUpdateConvention<TConvention>(Func<TConvention> add, Func<TConvention, TConvention> update) where TConvention : class, IMessagePublishTopologyConvention<TMessage>
Parameters
add
Func<TConvention>Called if the convention does not already exist
update
Func<TConvention, TConvention>Called if the convention already exists
Type Parameters
TConvention
TryAddConvention(IMessagePublishTopologyConvention<TMessage>)
Adds a convention to the message Publish topology configuration, which can be modified
bool TryAddConvention(IMessagePublishTopologyConvention<TMessage> convention)
Parameters
convention
IMessagePublishTopologyConvention<TMessage>