Enables to configure messages and commands routing by using attributes on message types:
[RouteTo("DestinationEndpoint")]
public class SampleMessage
{}
Refer to https://github.com/mauroservienti/NServiceBus.AttributeRouting/ for instructions on how to configure endpoints to use attribute routing.
NOTE: Only Messages and Commands are supported. In NServiceBus Events are treated differently based on the underlying transport capabilities: If the transport supports native pub/sub (e.g. RabbitMQ or Azure Service Bus) everything is handled automatically, otherwise publishers needs to be manually registered. As of now registering publishers using attributes is not supported.
Nuget package: https://www.nuget.org/packages/NServiceBus.AttributeRouting.Contracts/
Icon: route by revo250 from the Noun Project