RabbitMQ without Terminal Access

Hello guys,

Have you ever been using RabbitMQ or Apache Kafka without terminal access?

Here is a simple PHP tutorial: https://www.rabbitmq.com/tutorials/tutorial-one-php.html

I’m curious how to run the receiver?

Running sender (producter) is easy. I’ll create a console command and run from the frontend/web/controller when needed, but I’m curious how to handle receiver and make it “listening” all the time?

Have you ever been using message queueing services with Yii when you don’t have terminal access since I don’t have - I’m on Heroku. I just need to deploy the code by Git.


Could be done as Yii console command. Code of the command itself could be taken from the tutorial.

well I don’t think you will be able to use rabbitmq without terminal access unless heroku has some sort of interface to rabbitmq

EDIT: https://blog.heroku.com/rabbitmq_add_on_now_available_on_heroku

Yes. I made it on my local machine - where I have terminal access and it’s easy, but without terminal.

Yes, there are a few messaging add-ons on Heroku such as CloudAMPQ, RabbitMQ Bigwig, IronMQ etc. However, I’m absolutely confused how to handle receiving the messages.

For all those who are interested I’m happy to say that I’ve found the solution.

First of all, If you want to execute some command on Heroku and you don’t have the terminal access just type the following:

Also, you can use worker dynos. Check out here: