Questions tagged [rabbitmq]

RabbitMQ is an open-source message broker originally implementing the AMQP protocol with additional messaging protocols supported via a plug-in architecture. This tag should be used with questions involving the RabbitMQ server message broker product or questions concerning the source code and implementation of the RabbitMQ product. A specific protocol tag such as amqp or mqtt may also be appropriate as well as the OS and programming language being used.

RabbitMQ is an open-source message broker software that implements the Advanced Message Queuing Protocol (AMQP) with other message protocols (HTTP, STOMP, and MQTT) supported via its plug-in architecture. AMQP itself is one of several open standard for business messaging. Written in Erlang, the RabbitMQ server is based on a proven platform and offers a reliable, highly available, scalable and portable messaging system with predictable and consistent throughput and latency. There are several operating systems supported, including Linux and Windows.

There is also a client library implementing the AMQP protocol, RabbitMQ-C, librabbitmq on Linux, which provides C language bindings. This library is a basis for client libraries for a number of different programming languages.

RabbitMQ is 100% open-source and 100% based on open standard protocols, freeing users from dependency on proprietary vendor-supplied libraries. It is designed from the ground up to interoperate with other message systems. It is a leading implementation of AMQP.

The official URL of RabbitMQ is https://www.rabbitmq.com. Simple tutorials can be found on https://github.com/rabbitmq/rabbitmq-tutorials. Its client implementation can be done in various languages like Python, Java, Ruby, PHP, C#, JavaScript, GO, Elixr.

The principal idea of RabbitMQ is to accept and forward messages analogous to a post office: when you send mail to the post box, you're pretty sure the post office will eventually deliver the mail to your recipient. Using this metaphor, RabbitMQ is a post box, a post office and a postman. The major difference between RabbitMQ and the post office is the fact that it doesn't deal with paper, instead it accepts, stores and forwards binary blobs of data ‒ messages.

Through adapters, it supports MQTT and STOMP, both natively and over HTTP/WebSockets. SMTP is also available thanks to a community plugin.

Support for the software is offered through both a thriving community of active contributors and a range of commercial support services available through Pivotal (https://pivotal.io/oss).

Related tags

14241 questions
5
votes
2 answers

Cannot connect to RabbitMQ on Heroku with pika due to ProbableAccessDeniedError

I just set up a RabbitMQ add-on in heroku. After developing my app to queue up and consume messages running on a local instance, I deployed it to Heroku and have not been able to connect successfully yet. The username/password & hostname/port/vhost…
Stephen
  • 741
  • 8
  • 18
5
votes
3 answers

Rabbitmq cluster does not work on ec2

Clustering with rabbit does not work. I mean wow..I have all ports open. I am on ubuntu 12.04 and yet I get the below? Any rabbit dev ever read these posts...why does this happen? Why do the docs reflect how to cluster properly? Both have the…
Tampa
  • 75,446
  • 119
  • 278
  • 425
5
votes
0 answers

Idle timeout on RabbitMQ Connection causes channels to leak

I using node-amqp with Node.js to consume messages off a queue. Our admins have a 60 minute idle connection timeout, which causes an additional queue to be bound and orphan the previous channels for my queue that were created previously. My logs…
occasl
  • 5,303
  • 5
  • 56
  • 81
5
votes
3 answers

Is there any option to set AutomaticRecoveryEnabled in RabbitMQ using Spring-AMQP?

Getting stocked while doing with RabbitMQ using Spring-AMQP. Just need to get a way to configure AutomaticRecoveryEnabled and NetworkRecoveryInterval using Spring-AMQP. There is a direct option to set these flages if you you developing using native…
lambodar
  • 3,495
  • 5
  • 34
  • 58
5
votes
3 answers

Can't start Python - ImportError: No module named posixpath

So I have an application written in Python that uses virtualenv with Python 2.7.3. Application runs some tasks with rabbitmq and celery. Everything was running smooth for couple days and today I noticed tasks are not being processed. I logged in to…
marcin_koss
  • 5,763
  • 10
  • 46
  • 65
5
votes
1 answer

Websockets, SockJs, Stomp, Spring, RabbitMQ, delete User specific Queues automatically

I hope someone can help me with this issue. I am using the Websocket support of Spring with SockJs and StompJs. I subscribed to a queue like this: var socket = new SockJS(localhost + 'websocket'); stompClient = Stomp.over(socket); …
Ogniute
  • 53
  • 4
5
votes
1 answer

RabbitMQ Java client auto reconnect

When my application looses connection to RabbitMQ I have its connection factory set to automatically try and reconnect ConnectionFactory factory = new ConnectionFactory(); factory.setUsername(username); factory.setPassword(password); …
rmb938
  • 63
  • 1
  • 1
  • 5
5
votes
1 answer

Erlang AMQP client library

Is there an Erlang AMQP client library that is not tied to the hip with RabbitMQ? I know about rabbitmq-erlang-client but I would like something more decoupled... pain when it comes to packaging this stuff for a Debian repository, installation…
jldupont
  • 93,734
  • 56
  • 203
  • 318
5
votes
4 answers

unable to start rabbitmq server on ubuntu 10.04

I have a ubuntu server with version 10.04 and installed rabbitmq-server by using sudo apt-get install rabbitmq-server. When i tried running rabbitmq-server, it returned the below error {error_logger,{{2014,7,7},{12,10,27}},"Error when reading…
Shiva Krishna Bavandla
  • 25,548
  • 75
  • 193
  • 313
5
votes
1 answer

RabbitMQ and Node.js how to handle failover scenario?

I am using RabbitMQ (cluster) and connecting to it using a Node.js client (node-amqp - https://github.com/postwait/node-amqp). The RabbitMQ docs states that handling a failover scenario (cluster's node failure) should be handled by the client…
Momico
  • 85
  • 1
  • 8
5
votes
3 answers

RabbitMQ - Close Idle/dangling channels

I have a multi-threaded application that publishes incoming messages to a rabbitmq exchange. Using the rabbitmq java client, I create a single rabbitmq connection at application startup and share it across all my threads. Each thread creates a new…
NewLight
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

RabbitMQ for high volume MySql inserts and updates?

We have a MySql database that has many writes & updates per second and the rate is growing rapidly. To handle all those writes and updates we are thinking about adding a queuing instance like Rabbit mq between the application and the DB, so that…
SiteAppDev
  • 141
  • 2
  • 8
5
votes
1 answer

RabbitMQ Consumer Disconnect Event

Is there any way we can know when a consumer disconnects from a queue or when a queue is deleted? The requirement is as follows: I'm building a system in which multiple clients can subscribe to certain events from the system. All clients create…
Babu James
  • 2,740
  • 4
  • 33
  • 50
5
votes
3 answers

RabbitMQ C# verify message was sent

I'm new to RabbitMQ and trying to write to a Queue and verify the message was sent. If it fails I need to know about it. I made a fake queue to watch it fail but no matter what I see no execptions and when I am looking for a ack I always get one. I…
Andre DeMattia
  • 631
  • 9
  • 23
5
votes
2 answers

RabbitMQ: Sending messages from one pc to another

I am trying to get a rabbitMQ queue set up that sits on one pc, and recieves messagess from other computers giving it tasks. I have followed all the tutorials on the rabbit website but these only apply to local host. Can someone explain how I get…
user3043883
  • 127
  • 3
  • 5