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
TThe 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
messageTypeTypeThe message type
baseAddressUriThe host base address, used to build out the exchange address
publishAddressUriThe address where the publish endpoint should send the message
Returns
- bool
 true if the address was available, otherwise false