You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rabbitmq-users
hey there,
yesterday I started working with rabbitMQ. Posting and fetching messages works fine, using the PHP libs or even using the API.
Now I have a service which provides webhooks, that are nothing else than a POST request to the given address with the payload as json in the body. You can see the docs here https://developer.billwerk.io/Docs/Webhooks
I used iron.io for a while and they provided a "public" webhook url for each queue, which had the auth-token as url param. So i could just add the webhook url of a queue to the webhook definition.
Is there a possibility to use rabbitMQ the same way? I tried to use the rabbitMQ API for the exchanges, but I don't see a possibility to put the basic auth credentials into the url.
thanks,
Marco
Michael Klishin
unread,
Aug 18, 2016, 9:14:49 AM8/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rabbitm...@googlegroups.com, Marco Reinbold
With RabbitMQ you need to run a small consumer that consumes messages and publishes
them to the web hook endpoint.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rabbitmq-users, ma...@marco-reinbold.de
hey Michael,
thanks for the quick response, but I'm not sure, if we understood each other right.
I have a service which sends POST requests after certain events to a url I can define. I want rabbitMQ to receive and put them in a queue.
You wrote about a consumer, but this is the step after, isn't it?
thanks,
Marco
Michael Klishin
unread,
Aug 18, 2016, 9:47:10 AM8/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rabbitm...@googlegroups.com, Marco Reinbold
Understood. You can publish to RabbitMQ via an HTTP API [1] and using
the default exchange that might even be sufficient. However, you'd need to hardcode
HTTP API credentials into the URI. So maybe developing a small HTTP API server is still worth it.