Inspecting messages in a RabbitMQ queue, ghetto style

There are probably a lot of much better ways to do this, but recently we needed to get at a couple of messages in a RabbitMQ queue. It’s a dead letter queue and we’ll built a better tool to process it’s messages at some point, but right now we just needed to get hold of one of the messages in it, without removing them all (and loosing them). TL;DR There SSH tunnel into the box, mod an API call nicked from the browser to use it’s cookies to authenticate, format it using jq and then grep out what you need....

October 27, 2013 · 4 min · Me