Dealing with a "ghost" message that keeps surfacing on a Solace broker usually implies it is trapped in a Queue with a high "Maximum Redelivery" count or it's sitting in a Dead Letter Queue (DLQ) that is being re-polled.
Since you have the topic string US/COMET/INC/ORDER/CASH/COES/SLSI, you need to identify which Queue is subscribed to that topic and then purge the specific message.
Here is the step-by-step guide to deleting it using the Solace PubSub+ Manager (GUI).
1. Identify the Queue
In Solace, messages aren't usually "deleted" from a topic; they are deleted from the Queues that attract those topics.
- Log into your Solace PubSub+ Manager.
- Go to Queues in the left-hand sidebar.
- Look for a queue that has a Subscription matching your topic:
US/COMET/INC/ORDER/CASH/COES/SLSI.- Tip: If you aren't sure which queue it is, look for the one with a non-zero "Messages Queued" count or "Redelivered" stats.
2. Browse the Messages
Once you find the likely queue:
- Click on the Queue Name.
- Click the Messages tab at the top.
- Click Query Messages (this will show you a list of messages currently sitting in that queue).
- Look for the message containing "LEONID CITI DEMO". You can usually see a preview of the payload.
3. Delete the Specific Message
If you find the specific annoying message:
- Select the checkbox next to that specific message.
- Click Delete (usually a trash can icon or a button at the top of the list).
- Confirm the deletion.
Alternative: Selective Purge via "Selector"
If the queue has thousands of messages and you can't find it manually, you can use a Queue Purge with a Selector. Note: Be very careful here not to purge the whole queue.
If your Solace version supports it in the UI:
- Go to the Queue > Messages.
- Use the Filter/Search box.
- Enter a string like
text LIKE '%LEONID CITI DEMO%'. - Once filtered, delete only those results.
If you are using CLI (SolAdmin / SEMP)
If you prefer the command line, you can use the following logic (replace <queue-name> with your actual queue name):
# To clear the ENTIRE queue (Nuclear option - only if all Sept 2025 msgs are junk)
admin
message-spool message-vpn <your-vpn-name>
delete-messages queue <queue-name>
Why does it keep "surfacing"?
If the message reappears after you delete it, one of two things is happening:
- Redelivery Loop: An application is consuming it, failing to acknowledge (ACK) it because the data is "bad," and Solace is putting it back on the queue.
- External Re-publisher: Some automated test script or "replay" tool in your
UKPRODenvironment might be re-sending this "CITI DEMO" message periodically. If you delete it and it comes back with a new timestamp, you need to find the Producer (the app sending it) and stop it there.
Warning: If those "Sept 2025" messages are valid business orders, do not use the "Purge Queue" button, as that will wipe out all messages. Only delete the specific Message ID associated with the "LEONID" text.
Top comments (0)