When SlimMessageBus is configured to use a primary (Main) bus only, the OutboxSendingTask fails to locate the bus.
I have narrowed the issue down to the OutboxSendingTask.GetBus method but unfortunately don't have the time to dig/resolve the issue for the time being.
Configure a bus (not a child bus) to use the Outbox plugin.
Publish a message so that it is spooled to sql
When OutboxSendingTask attempts to find the 'Main' bus, it will satisfy the condition first condition of the GetBus method and attempt to resolve a ChildBus instead of falling through to messageBusTarget.Target.
GetBus returns null, which aborts the message delivery
Workaround:
Configure SlimMessageBus to add the bus as a child.
When
SlimMessageBus
is configured to use a primary (Main
) bus only, theOutboxSendingTask
fails to locate the bus.I have narrowed the issue down to the
OutboxSendingTask.GetBus
method but unfortunately don't have the time to dig/resolve the issue for the time being.Steps to reproduce:
Outbox
plugin.OutboxSendingTask
attempts to find the 'Main' bus, it will satisfy the condition first condition of theGetBus
method and attempt to resolve aChildBus
instead of falling through tomessageBusTarget.Target
.GetBus
returnsnull
, which aborts the message deliveryWorkaround:
Configure
SlimMessageBus
to add the bus as a child.