Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class RabbitMqExtensionConfigProvider : IExtensionConfigProvider
{
private ILogger _logger;
public RabbitMqExtensionConfigProvider(ILogger logger)
{
_logger = logger;
}
public void Initialize(ExtensionConfigContext context)
{
var rule = context.AddBindingRule<RabbitMqTriggerAttribute>();
rule.BindToTrigger<BasicDeliverEventArgs>(new RabbitMqTriggerBindingProvider(_logger));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.