Question

Using NServiceBus 4.4.2.

When sending to a local recipient and before the Recipient got a chance to run (meaning queues are not there yet) I get a nice exception 'The destination queue "xyz" could not be found'. However, when sending to a recipient on another machine, and Remote recipient hasn't run yet (remote queues are not there yet), there is no exception thrown, no error anywhere on the sender and message is nowhere to be found.

Am I missing something?

Was it helpful?

Solution

The message is in the "Outgoing Queues"

enter image description here

MSMQ uses store-and-forward to reliably send messages to remote queues.
In this case because the remote queue is not available yet, the message will stay in the outgoing queue till either expires or the remote queue becomes available.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top