Questions tagged [messaging]

Messaging refers to the design pattern whereby discrete messages are used for communication between objects or processes. Messages can be simple data, complex data structures, or even code. This pattern is often used for asynchronous or parallel computing.

2583 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
169
votes
11 answers

When to use Spring Integration vs. Camel?

As a seasoned Spring user I was assuming that Spring Integration would make the most sense in a recent project requiring some (JMS) messaging capabilities (more details). After some days working with Spring Integration it still feels like a lot of…
ngeek
  • 7,733
  • 11
  • 36
  • 42
141
votes
7 answers

Difference between a Message Broker and an ESB

I have gone through different questions/articles on Message Brokers and ESBs(Even on stackoverflow). Still not a clue as what is the CLEAR demarcating difference between an Message Broker and an ESB? Now here I am trying to compare products,…
Franklin
  • 1,790
  • 2
  • 14
  • 17
138
votes
3 answers

What's the purpose of Kafka's key/value pair-based messaging?

All of the examples of Kafka | producers show the ProducerRecord's key/value pair as not only being the same type (all examples show ), but the same value. For example: producer.send(new ProducerRecord("someTopic",…
smeeb
  • 27,777
  • 57
  • 250
  • 447
120
votes
7 answers

Difference between stream processing and message processing

What is the basic difference between stream processing and traditional message processing? As people say that kafka is good choice for stream processing but essentially kafka is a messaging framework similar to ActivMQ, RabbitMQ etc. Why do we…
TechEnthusiast
  • 1,795
  • 2
  • 17
  • 32
104
votes
12 answers

message driven vs. event driven approaches to application integration

I was wondering if there is a clear distinction between message driven and event driven environments when we refer to SOA or middleware and generally in cases of application and enterprise integration. I understand that a user interface resembles an…
denchr
  • 4,142
  • 13
  • 48
  • 51
77
votes
7 answers

.net service bus recommendations?

We are in need of a distributed architecture messaging system/service bus with the capability of Publish/Subscribe. Does anyone have any reccomendations for a framework that we can use for .net applications?
Chris Kooken
  • 32,730
  • 15
  • 85
  • 123
75
votes
2 answers

Objective C calling method dynamically with a string

Im just wondering whether there is a way to call a method where i build the name of the method on the fly with a string. e.g. I have a method called loaddata -(void)loadData; to call this i would normally call it like [self loadData]; But i want…
IPadHackAndSlash
  • 955
  • 2
  • 7
  • 7
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
71
votes
11 answers

what is JMS good for?

I'm looking for (simple) examples of problems for which JMS is a good solution, and also reasons why JMS is a good solution in these cases. In the past I've simply used the database as a means of passing messages from A to B when the message cannot…
Dónal
  • 185,044
  • 174
  • 569
  • 824
69
votes
2 answers

grpc and zeromq comparsion

I'd like to compare somehow capabilities of grpc vs. zeromq & its patterns: and I'd like to create some comparsion (feature set) - somehow - 0mq is "better" sockets - but anyways - if I apply 0mq patterns - I get comparable 'frameworks' I think -…
user3169252
  • 1,139
  • 1
  • 9
  • 13
67
votes
1 answer

difference between pub-sub and push-pull pattern in zeroMq

This two images are from http://zguide.zeromq.org/page:all. What is the difference between this two pattern if we ignore sink in push-pull pattern ? Is there a difference in how a message gets transfer, if yes what is the difference ?
Bhuvan
  • 4,028
  • 6
  • 42
  • 84
63
votes
3 answers

RabbitMQ by Example: Multiple Threads, Channels and Queues

I just read RabbitMQ's Java API docs, and found it very informative and straight-forward. The example for how to set up a simple Channel for publishing/consuming is very easy to follow and understand. But it's a very simple/basic example, and it…
user1768830
58
votes
6 answers

Java Messaging : Difference between ActiveMQ, Mule, ServiceMix and Camel

I am new to Messaging and want to know the difference between ActiveMQ, Mule, ServiceMix and Camel Anyone knows how each of these product is different? Thanks in advance ! EDIT: Also would like to know any good place/resource to learn these things.
peakit
  • 28,597
  • 27
  • 63
  • 80
1
2 3
99 100