public InMemoryReceiveContext(Uri inputAddress, InMemoryTransportMessage message, IReceiveObserver observer) : base(inputAddress, message.DeliveryCount > 0, observer) { _body = message.Body; _message = message; GetOrAddPayload(() => this); }
public InMemoryReceiveContext(Uri inputAddress, InMemoryTransportMessage message, IReceiveObserver observer, ISendEndpointProvider sendEndpointProvider, IPublishEndpointProvider publishEndpointProvider) : base(inputAddress, message.DeliveryCount > 0, observer, sendEndpointProvider, publishEndpointProvider) { _body = message.Body; _message = message; GetOrAddPayload(() => this); }