-
Notifications
You must be signed in to change notification settings - Fork 649
Description
When outbox is enabled, all outgoing messages are forced to use DispatchConsistency.Isolated. This causes transports that support batching, at the time of writing, Azure Service Bus and Amazon SQS, not to use batching but rather send messages one by one. This leads to increased latency and higher costs since the number of message operations increases.
This behavior should not be needed since the outbox will force the transport transaction mode to be ReceiveOnly, which by definition prevents outgoing messages from being enlisted in the receive transaction.
Expected behavior
Dispatch consistency NOT changed on outgoing messages when the outbox is enabled.
Actual behavior
Dispatch consistency changed to DispatchConsistency.Isolated on outgoing messages when the outbox is enabled.
Versions
All supported versions.
Steps to reproduce
Enable the outbox, send more than one message using either Azure ServiceBus or Amazon SQS. Notice that batching is not used.