|
|
@@ -13,7 +13,7 @@ namespace DotNetCore.CAP.Abstractions |
|
|
|
/// </summary> |
|
|
|
/// <param name="descriptor">consumer method descriptor. </param> |
|
|
|
/// <param name="message"> reveied message.</param> |
|
|
|
public ConsumerContext(ConsumerExecutorDescriptor descriptor, MessageBase message) |
|
|
|
public ConsumerContext(ConsumerExecutorDescriptor descriptor, MessageContext message) |
|
|
|
{ |
|
|
|
ConsumerDescriptor = descriptor ?? throw new ArgumentNullException(nameof(descriptor)); |
|
|
|
DeliverMessage = message ?? throw new ArgumentNullException(nameof(message)); |
|
|
@@ -27,6 +27,6 @@ namespace DotNetCore.CAP.Abstractions |
|
|
|
/// <summary> |
|
|
|
/// consumer reveived message. |
|
|
|
/// </summary> |
|
|
|
public MessageBase DeliverMessage { get; set; } |
|
|
|
public MessageContext DeliverMessage { get; set; } |
|
|
|
} |
|
|
|
} |