Mark van Renswoude
f8fca5879c
- 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
25 lines
970 B
C#
25 lines
970 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Tapeti.Config
|
|
{
|
|
/// <summary>
|
|
/// A bundling mechanism for Tapeti extension packages. Allows the calling application to
|
|
/// pass all the necessary components to TapetiConfig.Use in one call.
|
|
/// </summary>
|
|
public interface ITapetiExtension
|
|
{
|
|
/// <summary>
|
|
/// Allows the extension to register default implementations into the IoC container.
|
|
/// </summary>
|
|
/// <param name="container"></param>
|
|
void RegisterDefaults(IDependencyContainer container);
|
|
|
|
/// <summary>
|
|
/// Produces a list of middleware implementations to be passed to the TapetiConfig.Use method.
|
|
/// </summary>
|
|
/// <param name="dependencyResolver"></param>
|
|
/// <returns>A list of middleware implementations or null if no middleware needs to be registered</returns>
|
|
IEnumerable<object> GetMiddleware(IDependencyResolver dependencyResolver);
|
|
}
|
|
}
|