Interface IBusTopology
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public interface IBusTopology
Properties
PublishTopology
IPublishTopology PublishTopology { get; }
Property Value
SendTopology
ISendTopology SendTopology { get; }
Property Value
Methods
Message<T>()
Returns the message topology for the specified message type
IMessageTopology<T> Message<T>() where T : class
Returns
Type Parameters
T
The message type
Publish<T>()
Returns the publish topology for the specified message type
IMessagePublishTopology<T> Publish<T>() where T : class
Returns
Type Parameters
T
The message type
Send<T>()
Returns the send topology for the specified message type
IMessageSendTopology<T> Send<T>() where T : class
Returns
Type Parameters
T
The message type
TryGetPublishAddress(Type, out Uri)
Returns the destination address for the specified message type, as a short address.
bool TryGetPublishAddress(Type messageType, out Uri publishAddress)
Parameters
messageType
TypeThe message type
publishAddress
Uri
Returns
TryGetPublishAddress<T>(out Uri)
Returns the destination address for the specified message type, as a short address.
bool TryGetPublishAddress<T>(out Uri publishAddress) where T : class
Parameters
publishAddress
Uri
Returns
Type Parameters
T