C# Class RawRabbit.Configuration.RawRabbitConfigurationExtensions

Show file Open project: pardahlman/RawRabbit

Public Methods

Method Description
AsHighPerformance ( this config ) : RawRabbitConfiguration

Changes the configuration so that it does not use PersistentDeliveryMode. Also, it sets the exchange type to Direct to increase performance, however that disables the ability to use the MessageSequence extension.

AsLegacy ( this config ) : RawRabbitConfiguration

Disables RouteWithGlobalId to keep routing keys intact with older versions of RawRabbit and sets exchange type to Direct.

Method Details

AsHighPerformance() public static method

Changes the configuration so that it does not use PersistentDeliveryMode. Also, it sets the exchange type to Direct to increase performance, however that disables the ability to use the MessageSequence extension.
public static AsHighPerformance ( this config ) : RawRabbitConfiguration
config this The RawRabbit configuration object
return RawRabbitConfiguration

AsLegacy() public static method

Disables RouteWithGlobalId to keep routing keys intact with older versions of RawRabbit and sets exchange type to Direct.
public static AsLegacy ( this config ) : RawRabbitConfiguration
config this
return RawRabbitConfiguration