1
0
mirror of synced 2024-11-04 18:49:16 +00:00
Tapeti/Tapeti/Config/ITapetiExtensionBinding.cs
Mark van Renswoude f8fca5879c [ci skip] Major refactoring for 2.0
- Compiles, but that's about it. Plenty of ToDo's left before it will run. Beware, ye who enter here.
- Cleanup of the internals, with the aim to keep the interface to application code compatible
- Added the ability to declare durable queues on startup and update the bindings
- Possibly fixed an issue with publish timeouts being logged after a reconnect
2019-08-13 20:30:04 +02:00

18 lines
610 B
C#

using System.Collections.Generic;
namespace Tapeti.Config
{
/// <inheritdoc />
/// <summary>
/// Provides a way for Tapeti extensions to register custom bindings.
/// </summary>
public interface ITapetiExtensionBinding : ITapetiExtension
{
/// <summary>
/// Produces a list of bindings to be registered.
/// </summary>
/// <param name="dependencyResolver"></param>
/// <returns>A list of bindings or null if no bindings need to be registered</returns>
IEnumerable<IBinding> GetBindings(IDependencyResolver dependencyResolver);
}
}