1
0
mirror of synced 2024-07-02 16:47:39 +00:00
Tapeti/Config/IMessageContext.cs

30 lines
738 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Reflection;
using RabbitMQ.Client;
2016-12-11 14:08:58 +00:00
namespace Tapeti.Config
{
public interface IMessageContext : IDisposable
2016-12-11 14:08:58 +00:00
{
IDependencyResolver DependencyResolver { get; }
string Queue { get; }
string RoutingKey { get; }
2016-12-11 14:08:58 +00:00
object Message { get; }
IBasicProperties Properties { get; }
2016-12-11 14:08:58 +00:00
IDictionary<string, object> Items { get; }
/// <summary>
/// Controller will be null when passed to an IBindingFilter
/// </summary>
object Controller { get; }
/// <summary>
/// Binding will be null when passed to an IBindingFilter
/// </summary>
IBinding Binding { get; }
2016-12-11 14:08:58 +00:00
}
}