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.
Questions tagged [messaging]
2583 questions
16
votes
9 answers
How can I handle multiple messages concurrently from a JMS topic (not queue) with java and spring 3.0?
Note that I'd like multiple message listeners to handle successive messages from the topic concurrently. In addition I'd like each message listener to operate transactionally so that a processing failure in a given message listener would result in…

Edgar Styles
- 161
- 1
- 1
- 3
16
votes
4 answers
Alternatives to Protocol Buffers
I'd like a basic message passing/RPC system. I could use a serialisation system but I want some sort of verification to ensure both ends are synchronised. I've looked at Google Protocol Buffers, but I'm not too keen on code generation. What are…

Nick
- 27,566
- 12
- 60
- 72
16
votes
3 answers
RabbitMQ: How to specify the queue to publish to?
RabbitMQ's Channel#basicConsume method gives us the following arguments:
channel.basicConsume(queueName, autoAck, consumerTag, noLocal,
exclusive, arguments, callback);
Giving us the ability to tell RabbitMQ exactly which queue we want to…
user1768830
16
votes
2 answers
Sending messages between class threads Python
Does anybody know how I can send a variable (or get a variable) from threadOne to threadTwo in this code without using a global variable? If not, how would I operate a global variable? Just define it before both classes and use the global…

Sam Heather
- 1,493
- 3
- 19
- 42
15
votes
1 answer
Chrome Extension - Message Passing from Popup to Content Script
I'm trying to pass data from a popup to a content script, but I'm not having any luck. I got it to work the other way around (content -> popup) though. All I want to do is enter text into an input located in the popup and click a submit button which…

ktross
- 739
- 1
- 9
- 18
15
votes
1 answer
Is Google's Protocol Buffers used in large scale production applications?
Is Google's Protocol Buffers used in large scale production applications in production?
What is the experience using it?

leora
- 188,729
- 360
- 878
- 1,366
15
votes
7 answers
What to use for Messaging with C#
So my company stores alot of data in a foxpro database and trying to get around the performance hit of touching it directly I was thinking of messaging anything that can be done asynchronously for a snappier user experience. I started looking at…

Kevin Sheffield
- 3,618
- 2
- 24
- 22
15
votes
3 answers
How to use Android App as a client for Kafka?
Is it possible / does it make sense to use an Android app as a "Producing client" for Apache Kafka?
Let's say my Android App need to capture and analyse reaction time data. Goal is to collect all data and show the average reaction time in real-time…

lidox
- 1,901
- 3
- 21
- 40
15
votes
2 answers
AMQP vs Websphere MQ
We're working on an application that supports AMQP for queuing. Some of our clients are using Websphere MQ. I'm just wondering at a high level how interchangeable these two protocols are in terms of functionality. I'm using celery, which should…

Jason Baker
- 192,085
- 135
- 376
- 510
15
votes
1 answer
Database Structure for Web Messaging System
I want to make an web messaging system like facebook have. I already think of many alternative for the database structure, but not sure which is the best practice for it. I have two alternative here, the first is using two table, the second is using…

deka
- 377
- 1
- 2
- 14
15
votes
3 answers
Avoiding split-brain, votes and quorum
Suppose you have n processes, n > 2. You want to have agreement amongst them that one is to be active. So they need to vote amonst each other to determine which one is active.
All processes may fail at any time, we want to have one process active if…

djna
- 54,992
- 14
- 74
- 117
14
votes
6 answers
Pause a thread for less than one millisecond
In a messaging client test application, the producer thread needs to be throttled to avoid flooding the server.
As the transfer rates are around 25,000 messages per second (40 microseconds per message), the delay caused by Sleep(1) would far too…

mjn
- 36,362
- 28
- 176
- 378
14
votes
3 answers
How to know when a set of RabbitMQ tasks are complete?
I am using RabbitMQ to have worker processes encode video files. I would like to know when all of the files are complete - that is, when all of the worker processes have finished.
The only way I can think to do this is by using a database. When a…

poundifdef
- 18,726
- 23
- 95
- 134
14
votes
4 answers
Fastest reliable way for Clojure (Java) and Ruby apps to communicate
We have cloud-hosted (RackSpace cloud) Ruby and Java apps that will interact as follows:
Ruby app sends a request to Java app. Request consists of map structure containing strings, integers, other maps, and lists (analogous to JSON).
Java app…

jkndrkn
- 4,012
- 4
- 36
- 41
14
votes
5 answers
What is message-oriented middleware?
I've been trying to figure out exactly what message-oriented middleware is, but haven't been able to find any non-enterprise real world examples that make sense to me. Can anyone give me a clear and easily understandable explanation of what MOM is,…

jammur
- 1,189
- 3
- 10
- 18