Writing to error queues on server other than where message originated

We have numerous endpoints that in turn have their own error queue. I am wondering can we have the bus send the error to one central error queue on a different server. I am not seeing any documentation and that is making me think that it is not possible.

Thanks!

Good day, @jrisseeu.

Welcome to the Particular discussion group.

I’m assuming, and please correct me if I’m wrong, that the transport is MSMQ. If that’s the case, it’s enough to configure the error queue as error@machine-name-where-errors-should-go. In this way all errors of all endpoints configured in that way will be delivered to the error queue on the machine-name-where-errors-should-go machine.

Before forwarding the message to the error queue, NServiceBus appends a FailedQ header to the failing message specifying the queue name (and machine) where the message originally failed.

Let me know if that helps.
.m

1 Like