0
votes

Please refer to my attached screenshot.msmq and servicepulse

I have an "sms" queue that has messages posted to it from a web client using NServiceBus. Constantly refreshing the MSMQ manager I see the messages appear in the sms queue. NServiceBus processes them and exceptions are raised (I'm not concerned about the exceptions - I know how to resolve them) and NServiceBus goes through its first and second level retries. Eventually, the messages end up in the "error" queue, as expected. However, my concern is that I don't see any of these failed messages showing up in the ServicePulse view. Here is an excerpt from my endpoint config:

<AuditConfig QueueName="audit" />
<MessageForwardingInCaseOfFaultConfig ErrorQueue="error" />

The ServiceControl dlls are in place, and the endpoint is showing a heartbeat in the ServicePulse dashboard.

Also of concern is that no messages whatsoever are showing up in the audit queue.

What am I missing?

1
Funny, I am facing exactly the same problem today. I will answer your question if I find the answer before you. :) BTW. The Audit queue is only supposed to get succesful messages, so if you only have failed messages that is as expected. - Jesper Niedermann

1 Answers

2
votes

I found the answer here which worked for me: http://docs.particular.net/servicecontrol/creating-config-file

Apparently ServicePulse forces you to use a centralized error queue for all endpoints. I assumed it would use the error queue defined in the endpoints config, but no such luck.

The default name for the queue is "error". Which means you have 2 choices

  1. Rename all your endpoints error queues to "error"
  2. Create a config file here: C:\Program Files (x86)\Particular Software\ServiceControl\ServiceControl.exe.config containing this:

Hope it helps you too.