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
20 lines
665 B
C#
20 lines
665 B
C#
using System;
|
|
|
|
namespace Tapeti.Config
|
|
{
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// Called when a Controller method is registered.
|
|
/// </summary>
|
|
public interface IControllerBindingMiddleware : IControllerMiddlewareBase
|
|
{
|
|
/// <summary>
|
|
/// Called before a Controller method is registered. Can change the way parameters and return values are handled,
|
|
/// and can inject message middleware specific to a method.
|
|
/// </summary>
|
|
/// <param name="context"></param>
|
|
/// <param name="next">Must be called to activate the new layer of middleware.</param>
|
|
void Handle(IControllerBindingContext context, Action next);
|
|
}
|
|
}
|