Interface IMessagePublishTopology
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public interface IMessagePublishTopology
Methods
TryGetPublishAddress(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(Uri baseAddress, out Uri? publishAddress)
Parameters
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