using System; using System.Collections.Generic; namespace Tapeti.Config { /// /// Metadata properties attached to a message, equivalent to the RabbitMQ Client's IBasicProperties. /// public interface IMessageProperties { /// string ContentType { get; set; } /// string CorrelationId { get; set; } /// string ReplyTo { get; set; } /// bool? Persistent { get; set; } /// DateTime? Timestamp { get; set; } /// /// Writes a custom header. /// /// /// void SetHeader(string name, string value); /// /// Retrieves the value of a custom header field. /// /// /// The value if found, null otherwise string GetHeader(string name); /// /// Retrieves all custom headers. /// IEnumerable> GetHeaders(); } }