[rabbitmq-discuss] ANN QDB 0.5.0 released
David Tinker
david.tinker at gmail.com
Mon Sep 23 13:26:51 BST 2013
http://qdb.io/
This version adds filtering on routing key and/or grep on the message
body. Filtering is available on the list messages endpoint and
outputs.
# Fetch messages containing a line starting with a number
# The -g option to curl stops it from messing with [] and {}
# The %2b is the + character url encoded
$ curl -g "http://127.0.0.1:9554/q/incoming/messages?grep=^[0-9]%2b"
# Fetch messages with routingKey matching a RabbitMQ expression
# The hash (#) must be url encoded as %23
$ curl "http://127.0.0.1:9554/q/incoming/messages?routingKey=foo.*.%23"
# Fetch messages with routingKey matching a Java regular expression
$ curl -g "http://127.0.0.1:9554/q/incoming/messages?routingKey=/^[0-9]%2b/"
Some output examples:
# Output messages from 10h20 today containing a line starting with a number
# The %2b is the + character url encoded
$ curl http://127.0.0.1:9554/q/foo/out/rabbit -d from=10:20 -d grep=^[0-9]%2b
# Output messages with routingKey matching a RabbitMQ expression
$ curl http://127.0.0.1:9554/q/foo/out/rabbit -d "routingKey=foo.*"
# Fetch messages with routingKey matching a Java regular expression
$ curl http://127.0.0.1:9554/q/foo/out/rabbit -d "routingKey=/^[0-9]%2b/"
Cheers
David
http://qdb.io/ Persistent Message Queues With Replay and #RabbitMQ Integration
More information about the rabbitmq-discuss
mailing list