Skip to content

IInboxMessageSink Methods

Accepts delivered messages directly into application-owned journaled state, so their payload is journaled once.

TryAccept(InboxMessage, DeliveryResult)

abstract
public abstract bool TryAccept(InboxMessage message, out DeliveryResult result)
Takes a message into the sink's journaled state, or declines it.

Parameters

messageInboxMessage
The validated, deduplicated message.
resultDeliveryResult
When this method returns true, the delivery result which the inbox reports to the sender.

Returns

true when the sink takes the message and reports result; false when it declines the message without staging anything.