Example #1
0
 static void ConfigureTransport(TransportExtensions <RabbitMQTransport> transport, TransportSettings transportSettings)
 {
     transport.UseDirectRoutingTopology(routingKeyConvention: type => type.FullName.Replace(".", "-"));
     transport.Transactions(TransportTransactionMode.ReceiveOnly);
     transport.ApplyConnectionString(transportSettings.ConnectionString);
 }
Example #2
0
 static void ConfigureTransport(TransportExtensions <RabbitMQTransport> transport, TransportSettings transportSettings)
 {
     transport.UseConventionalRoutingTopology();
     transport.Transactions(TransportTransactionMode.ReceiveOnly);
     transport.ApplyConnectionString(transportSettings.ConnectionString);
 }