Home:ALL Converter>MassTransit transactional outbox for segmented messages

MassTransit transactional outbox for segmented messages

Ask Time:2022-09-13T02:01:33         Author:Stix

Json Formatter

I have a service which breaks down a large message into multiple parts and publishes to Azure Service Bus.

I now would like a consumer to consume these parts, but not publish or act on them until all parts have been received.

Is there a way I can customise or use MassTransit's inbox table from the transactional outbox to only publish an event when all parts of the message are received, and then clear the inbox table of those parts once published to the outbox?

Author:Stix,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/73693470/masstransit-transactional-outbox-for-segmented-messages
yy