Class BindingConfiguration<TMessage>
- Namespace
- CarrotMQ.Core.Configuration
- Assembly
- CarrotMQ.Core.dll
Message binding based on the message type TMessage
public sealed class BindingConfiguration<TMessage> : BindingConfiguration
Type Parameters
TMessageThe type of message associated with the binding.
- Inheritance
-
BindingConfiguration<TMessage>
- Inherited Members
Constructors
BindingConfiguration(string, string)
public BindingConfiguration(string exchange, string queueName)
Parameters
Methods
ResolveRoutingKey(IRoutingKeyResolver)
Can be overriden to set the RoutingKey using the provided routingKeyResolver.
public override void ResolveRoutingKey(IRoutingKeyResolver routingKeyResolver)
Parameters
routingKeyResolverIRoutingKeyResolverResponsible for resolving the routing key.