Interface IPublishTopology
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public interface IPublishTopology : IPublishTopologyConfigurationObserverConnector
- Inherited Members
Methods
GetMessageTopology<T>()
Returns the specification for the message type
IMessagePublishTopology<T> GetMessageTopology<T>() where T : class
Returns
Type Parameters
T
The message type
TryGetPublishAddress(Type, Uri, out Uri?)
Returns the publish address for the message, using the topology rules. This cannot use a PublishContext because the transport isn't available yet.
bool TryGetPublishAddress(Type messageType, Uri baseAddress, out Uri? publishAddress)
Parameters
messageType
TypeThe message type
baseAddress
UriThe host base address, used to build out the exchange address
publishAddress
UriThe address where the publish endpoint should send the message
Returns
- bool
true if the address was available, otherwise false