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
18
votes
5 answers

RabbitMQ wait for multiple queues to finish

Ok here is an overview of what's going on: M <-- Message with unique id of 1234 | +-Start Queue | | | <-- Exchange /|\ / | \ / | \ <-- bind to multiple queues Q1 Q2 Q3 \ | / <-- start of the problem is here \ …
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
18
votes
4 answers

How would I create an asynchronous notification system using RESTful web services?

I have a Java application which I make available via RESTful web services. I want to create a mechanism so clients can register for notifications of events. The rub is that there is no guarantee that the client programs will be Java programs and…
James Adams
  • 8,448
  • 21
  • 89
  • 148
17
votes
3 answers

Does RabbitMQ call the callback function for a consumer when it has some message for it?

Does RabbitMQ call the callback function for a consumer when it has some message for it, or does the consumer have to poll the RabbitMQ client? So on the consumer side, if there is a PHP script, can RabbitMQ call it and pass the message/parameters…
jeff musk
  • 1,032
  • 1
  • 10
  • 31
17
votes
6 answers

RabbitMQ channel creation guidelines

I'm writing a simple class that my apps will use to send and receive messages using RabbitMQ. I've read as many how-tos, blog posts, white papers and the likes about RabbitMQ as I could find. Most of the examples have the connection and channel…
small rabbit
  • 171
  • 1
  • 1
  • 3
17
votes
1 answer

How to setup Push Notifications with Flutter without Firebase and with own custom backend

I have been developing an App with react native and i am now looking at rebuilding the App using Flutter. Before i start on a rebuild i was researching the functionality of Flutter and seeing if it would be right for our project. I have struggled a…
Ultronn
  • 532
  • 1
  • 5
  • 19
17
votes
2 answers

Apache Camel vs Apache Kafka

As far as I know, Apache Kafka is asynchronous messaging platform, where as Apache Camel is a platform implementing the enterprise integration patterns. So, what are the practical differences of Apache Camel and Apache Kafka? We planned to implement…
Tuomas Toivonen
  • 21,690
  • 47
  • 129
  • 225
17
votes
5 answers

Lightweight Message Bus library

I will be starting a small Java (GWT really) project in the near future and I am at "information gathering" phase. Q: Is there a lightweight Message Bus library written in Java? My requirements are lightweight too :-) async (no need for…
jldupont
  • 93,734
  • 56
  • 203
  • 318
17
votes
3 answers

What is the difference between a MessageListener and a Consumer in JMS?

I am new to JMS. As far as I understood Consumers are capable of picking messages from queue/topic. So why do you need a MessageListener because Consumers will know when they have picked up messages? What is the practical use of such a…
Geek
  • 26,489
  • 43
  • 149
  • 227
17
votes
5 answers

Best solution for Java HTTP push (messaging)

We want to push data from a server to clients but can only use HTTP (port 80). What is the best solution for messaging? One idea is Comet. Are there other ideas or frameworks which offer lets say JMS over HTTP. (Yes, ActiveMQ supports it too, but…
crusam
  • 6,140
  • 6
  • 40
  • 68
16
votes
3 answers

Ordinary Queue vs SEDA Queue

Being new to Apache Camel, I was recently reviewing its long list of components and stumbled upon their support for SEDA queue components. The page didn't make much sense to me, so I did a couple of online searches for the term "SEDA queue" and got…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
16
votes
3 answers

Private messaging in Django

I'm looking for a preexisting Django app providing user to user private messaging. I've seen django-pm and django-messages, neither of which appear to be in particularly active development. Is there really nothing out there?
marqueed
  • 1,083
  • 10
  • 12
16
votes
4 answers

Can a Kafka producer create topics and partitions?

currently I am evaluating different Messaging Systems. There is a question related to Apache Kafka which I could not answer myself. Is it possible for a Kafka producer to create topics and partitions (on existing topics aswell) dynamically? If yes,…
smartwepa
  • 311
  • 1
  • 3
  • 11
16
votes
3 answers

Is there any simulator/tool to generate messages for streaming?

For testing purpose, I need to simulate client for generating 100,000 messages per second and send them to kafka topic. Is there any tool or way that can help me generate these random messages?
Sameeksha Raina
  • 199
  • 1
  • 2
  • 9
16
votes
1 answer

Dealing with dead letters in RabbitMQ

TL;DR: I need to "replay" dead letter messages back into their original queues once I've fixed the consumer code that was originally causing the messages to be rejected. I have configured the Dead Letter Exchange (DLX) for RabbitMQ and am…
Dan
  • 445
  • 1
  • 6
  • 15
16
votes
4 answers

How to selectively delete messages from an AMQP (RabbitMQ) queue?

I'd like to selectively delete messages from an AMQP queue without even reading them. The scenario is as follows: Sending side wants to expire messages of type X based on a fact that new information of type X arrived. Because it's very probable that…
Wojciech Kaczmarek
  • 2,173
  • 4
  • 23
  • 40