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
10
votes
6 answers
Where should we store confirmation/error messages in application?
I am working on PHP and Zend. I have to show different type of error/confirmation messages in application. Most of these messages are placed in code. So if I have to change one message then I have to change it everywhere where this particular type…

Student
- 1,863
- 9
- 37
- 50
10
votes
1 answer
Request based vs Event based architecture
Q1
I know the fundamental different between event based vs request based/driven architecture. Question is if the Request-based always done in synchronously while the Event-based is always done in asynchronously ?
Q2
Also, in API world…

bet
- 962
- 1
- 9
- 22
10
votes
3 answers
model user's message in rails 3
I have built the following model to handle user's message exchange:
create_table "messages", :force => true do |t|
t.integer "source_id"
t.integer "destination_id"
t.string "object"
t.string "body"
t.datetime "created_at"
…

Joe
- 1,747
- 3
- 17
- 24
10
votes
2 answers
Apache Kafka order windowed messages based on their value
I'm trying to find a way to re-order messages within a topic partition and send ordered messages to a new topic.
I have Kafka publisher that sends String messages of the following format:
{system_timestamp}-{event_name}?{parameters}
for…

MeetJoeBlack
- 2,804
- 9
- 40
- 66
10
votes
2 answers
Issues with Cross Document Messaging between IFrame & Parent
I have an application running inside an iframe on a "foreign" page (different domain etc.). To allow some basic communication between the iframe & the parent, I load some script of mine on the parent page and use postMessage to do some cross…

suamikim
- 5,350
- 9
- 40
- 75
10
votes
3 answers
Does RabbitMq do round-robin from the exchange to the queues
I am currently evaluating message queue systems and RabbitMq seems like a good candidate, so I'm digging a little more into it.
To give a little context I'm looking to have something like one exchange load balancing the message publishing to…

Lancelot
- 2,417
- 12
- 39
- 46
10
votes
1 answer
What's the point of AMQP?
As I understood AMQP 0.9.1, the main benefit was that you could send and receive messages and configure your exchanges / bindings / queues in a broker-independent way, thus you were able to switch your broker implementation without too much…

flrnb
- 836
- 1
- 7
- 13
10
votes
1 answer
RabbitMQ Java Client Using DefaultConsumer vs QueueingConsumer
DefaultConsumer
My DemoConsumer inherits from DefaultConsumer.
I have noticed that working this way handleDelivery() is invoked from ThreadPool.
(printing Thread.currentThread().getName() I see pool-1-thread-1/2/3/4 eachtime.
I have also tested it…

Bick
- 17,833
- 52
- 146
- 251
10
votes
5 answers
Lightweight messaging (async invocations) in Java
I am looking for lightweight messaging framework in Java. My task is to process events in a SEDA’s manner: I know that some stages of the processing could be completed quickly, and others not, and would like to decouple these stages of…

Sergey Mikhanov
- 8,880
- 9
- 44
- 54
10
votes
1 answer
Message Groups in RabbitMQ / AMQP
ActiveMQ / JMS has a built in-mechanism for ensuring that messages that share a common header (namely, the JMSXGroupID header) are always consumed by the same consumer of a queue when using a competing consumers pattern. The consumers of a queue…

whaley
- 16,075
- 10
- 57
- 68
10
votes
1 answer
Proper way of using MVVM Light Messenger
What is the proper way to use Messenger class ?
I know it can be used for ViewModels/Views communications, but is it a good approach to use it in for a technical/business service layer ?
For example, a logging/navigation service registers for some…

Cybermaxs
- 24,378
- 8
- 83
- 112
10
votes
2 answers
Java NIO selector minimum possible latency
I am doing some benchmarks with an optimized Java NIO selector on Linux over loopback (127.0.0.1).
My test is very simple:
One program sends an UDP packet to another program that echoes it back to the sender and the round trip time is computed. The…

Julie
- 101
- 1
- 5
9
votes
2 answers
Rabbit MQ support in Azure
I need to read and publish messages to a Rabbit MQ instance from multiple app services on Azure.
Could anyone please suggest the Azure service that I should be using to host the Rabbit MQ instance?

Anudeep Sai
- 123
- 1
- 2
- 7
9
votes
4 answers
Can SQS scale up to 1,000,000 queues for a single account?
I need a messaging service that allows me to create a channel for each user in order to facilitate real-time notifications. If I have somewhere between 100,000 and 1 million users, does it make sense to create an SQS queue for each of these…

johnnyodonnell
- 1,838
- 3
- 16
- 34
9
votes
2 answers
RabbitMQ node authentification failed after changing cookie file
I have multiple RabbitMQ nodes running on different machines. After installing each node I failed to specify a common cookie for each of them to use so I had to go back and manually change the file .erlang.cookie . My issue is that after doing this…

Iustinian Olaru
- 1,231
- 1
- 13
- 33