I would like to know when exactly an NServiceBus transaction ends in a specific scenario. The scenario is as follows:
- Message is received on a queue.
- Handler reads the message and loads something from the database.
- Handler publishes an Event to 3 subscribers.
Does the transaction (by default) end when:
- A: The Event have been published?
- B: Or when the Event has been published AND received by all 3 subscribers?
Note that the subscriber is not part of the system, and not necessarily using NServiceBus, or even .NET.