C# Class NServiceBus.Transports.RabbitMQ.Routing.DirectRoutingTopology

Route using a static routing convention for routing messages from publishers to subscribers using routing keys
Inheritance: IRoutingTopology
Show file Open project: MyDealerLot/NServiceBus.RabbitMQ

Public Methods

Method Description
CreateExchange ( IModel channel, string exchangeName ) : void
DirectRoutingTopology ( Conventions conventions, bool useDurableExchanges ) : System
Initialize ( IModel channel, string main ) : void
Publish ( IModel channel, Type type, TransportMessage message, IBasicProperties properties ) : void
Send ( IModel channel, Address address, TransportMessage message, IBasicProperties properties ) : void
SetupSubscription ( IModel channel, Type type, string subscriberName ) : void
TeardownSubscription ( IModel channel, Type type, string subscriberName ) : void

Private Methods

Method Description
ExchangeName ( ) : string
GetRoutingKeyForBinding ( Type eventType ) : string
GetRoutingKeyForPublish ( Type eventType ) : string

Method Details

CreateExchange() public method

public CreateExchange ( IModel channel, string exchangeName ) : void
channel IModel
exchangeName string
return void

DirectRoutingTopology() public method

public DirectRoutingTopology ( Conventions conventions, bool useDurableExchanges ) : System
conventions Conventions
useDurableExchanges bool
return System

Initialize() public method

public Initialize ( IModel channel, string main ) : void
channel IModel
main string
return void

Publish() public method

public Publish ( IModel channel, Type type, TransportMessage message, IBasicProperties properties ) : void
channel IModel
type System.Type
message TransportMessage
properties IBasicProperties
return void

Send() public method

public Send ( IModel channel, Address address, TransportMessage message, IBasicProperties properties ) : void
channel IModel
address Address
message TransportMessage
properties IBasicProperties
return void

SetupSubscription() public method

public SetupSubscription ( IModel channel, Type type, string subscriberName ) : void
channel IModel
type System.Type
subscriberName string
return void

TeardownSubscription() public method

public TeardownSubscription ( IModel channel, Type type, string subscriberName ) : void
channel IModel
type System.Type
subscriberName string
return void