Questions tagged [amqp]

AMQP is an open messaging standard. It defines a wire-level protocol and semantic framework for high performance enterprise messaging. If you're using a specific broker (ex: [rabbitmq]) then the AMQP tag may be redundant. AMQP should not be confused with Apache[ActiveMQ]

AMQP is an open messaging standard. It defines a wire-level protocol and semantic framework for high performance enterprise messaging. Unlike API-only standards like JMS, AMQP enables complete interoperability for messaging middleware as both the networking protocol and the semantics of broker services are defined.

Resources

2519 questions
228
votes
4 answers

RabbitMQ and relationship between channel and connection

The RabbitMQ Java client has the following concepts: Connection - a connection to a RabbitMQ server instance Channel - ??? Consumer thread pool - a pool of threads that consume messages off the RabbitMQ server queues Queue - a structure that holds…
user1768830
218
votes
13 answers

RabbitMQ / AMQP: single queue, multiple consumers for same message?

I am just starting to use RabbitMQ and AMQP in general. I have a queue of messages I have multiple consumers, which I would like to do different things with the same message. Most of the RabbitMQ documentation seems to be focused on round-robin,…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
153
votes
8 answers

JMS and AMQP - RabbitMQ

I am trying to understand what JMS and how it is connected to AMQP terminology. I know JMS is an API and AMQP is a protocol. Here are my assumptions (and questions as well) RabbitMQ uses AMQP protocol (rather implements AMQP protocol) Java clients…
Kevin Rave
  • 13,876
  • 35
  • 109
  • 173
110
votes
3 answers

What are the limits of messages, queues and exchanges?

What are the allowed types of messages (strings, bytes, integers, etc.)? What is the maximum size of a message? What is the maximum number of queues and exchanges?
tuchk4
  • 2,270
  • 5
  • 21
  • 34
83
votes
2 answers

RabbitMQ vs Socket.io?

I'm doing real time live web app development. Browser users should be able to communicate with eachother through a node.js server. One of the user writes a message and all other users will get it. I don't quite get how RabbitMQ works. But from quick…
ajsie
  • 77,632
  • 106
  • 276
  • 381
81
votes
3 answers

What is the "delivery mode" in AMQP?

I understand that 2 options are available: "Non-persistent" "Persistent" But what does this actually mean? "Non-persistent" as in : the AMQP fabric will try to deliver the message if there are no consumers, the message will be dropped?…
jldupont
  • 93,734
  • 56
  • 203
  • 318
75
votes
6 answers

Why use AMQP/ZeroMQ/RabbitMQ

as opposed to writing your own library. We're working on a project here that will be a self-dividing server pool, if one section grows too heavy, the manager would divide it and put it on another machine as a separate process. It would also alert…
Evil Spork
  • 1,013
  • 2
  • 10
  • 16
74
votes
3 answers

RabbitMQ: persistent message with Topic exchange

I am very new to RabbitMQ. I have set up a 'topic' exchange. The consumers may be started after the publisher. I'd like the consumers to be able to receive messages that have been sent before they were up, and that was not consumed yet. The exchange…
Julien
  • 5,729
  • 4
  • 37
  • 60
72
votes
2 answers

RabbitMQ - How many queues can RabbitMQ handle on a single server?

What's the maximum number of queues that RabbitMQ can handle on a single server? Does it depend on RAM? Does it depends on erlang processes?
Raj Sf
  • 1,408
  • 1
  • 17
  • 26
65
votes
3 answers

Service Oriented Architecture - AMQP or HTTP

A little background. Very big monolithic Django application. All components use the same database. We need to separate services so we can independently upgrade some parts of the system without affecting the rest. We use RabbitMQ as a broker to…
jreid42
  • 1,240
  • 1
  • 12
  • 19
64
votes
7 answers

How do I stop the RabbitMQ server on localhost

I installed RabbitMQ server on OS X, and started it on command line. Now, it is not obvious that how I should stop it from running? After I did: sudo rabbitmq-server -detached I get: Activating RabbitMQ plugins ... 0 plugins activated: That was…
MLister
  • 10,022
  • 18
  • 64
  • 92
63
votes
2 answers

RabbitMQ use of immediate and mandatory bits

I am using RabbitMQ server. For publishing messages, I set the immediate field to true and tried sending 50,000 messages. Using rabbitmqctl list_queues, I saw that the number of messages in the queue was zero. Then, I changed the immediate flag to…
Gurpreet Singh
  • 1,326
  • 3
  • 15
  • 21
61
votes
9 answers

Check RabbitMQ queue size from client

Does anyone know if there's a way to check the number of messages in a RabbitMQ queue from a client application? I'm using the .NET client library.
Pablote
  • 4,745
  • 9
  • 39
  • 46
57
votes
4 answers

In which domains are message oriented middleware like AMQP useful?

What problem do MOM (Message Oriented Middleware) solve? Scalability? Integration? In which domain are they typically used and in which domains are they typically not used? For example, say, is Google using such solution for it's main search engine…
cocotwo
  • 1,285
  • 2
  • 13
  • 19
53
votes
3 answers

Messaging Confusion: Pub/Sub vs Multicast vs Fan Out

I've been evaluating messaging technologies for my company but I've become very confused by the conceptual differences between a few terms: Pub/Sub vs Multicast vs Fan Out I am working with the following definitions: Pub/Sub has publishers…
ghostJago
  • 3,381
  • 5
  • 36
  • 51
1
2 3
99 100