Questions tagged [messagebroker]

A Message Broker is a pattern which is designed for purpose of consuming messages from applications and performing actions like transformation , providing a point-to-point and publish-subscribe pattern of message routing mechanism. It mediates communication among applications, minimizing the mutual awareness that applications should have of each other in order to be able to exchange messages, effectively implementing decoupling.

Message broker is an intermediary program module which translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver. Message brokers are elements in telecommunication networks where programs (software applications) communicate by exchanging formally-defined messages. Message brokers are a building block of Message oriented middleware.

Resources:

648 questions
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
49
votes
5 answers

Does Spring @SubscribeMapping really subscribe the client to some topic?

I am using Spring Websocket with STOMP, Simple Message Broker. In my @Controller I use method-level @SubscribeMapping, which should subscribe the client to a topic so that the client would receive the messages of that topic afterwards. Let say, the…
Mert Mertce
  • 1,614
  • 3
  • 21
  • 32
46
votes
5 answers

Message queue and Message broker differences

so I've been trying to understand what are the differences between message queues and message brokers and why should you use one over the other. So from what I've understand. MESSAGE QUEUE helps with inter process communications, but it is limited…
user9124444
34
votes
3 answers

Message broker vs. MOM (Message-Oriented Middleware)

I'm a little confused as to what the difference is between a message broker e.g. RabbitMQ and Message-orientated Middleware. I can't find much info apart from what's on Wikipedia. When searching MOM I find info on AMQP which states is a protocol for…
user1577433
  • 501
  • 1
  • 6
  • 12
23
votes
3 answers

Which option is more suitable for microservice? GRPC or Message Brokers like RabbitMQ

I want develop a project in microservice structure. I have to use php/laravel and nodejs/nestjs What is the best connection method between my microservices. I read about RabbitMQ and NATS messaging and also GRPC Which option is more suitable for…
Mohammad Honarvar
  • 231
  • 1
  • 2
  • 6
22
votes
5 answers

Difference between queue manager and message broker

What is the difference between a Websphere Message Broker and a Queue Manager. I guess the queue manager puts messages in the queue, takes messages out of the queue, moves messages to backout queues etc. So what is the job of the broker? Does it…
Victor
  • 16,609
  • 71
  • 229
  • 409
16
votes
2 answers

Synch and Asynchronous interface of MqttClient object are not working

I have created a client of type MqttClient and as shown below in the code, I create a client and se its Asynchronous callback. The problem is, 1-when I run the programm, the System.out.println("Client is Connected"); appears, but i receive no…
rmaik
  • 1,076
  • 3
  • 15
  • 48
15
votes
3 answers

REST APIs and messaging

I have a system that exposes a REST API with a rich set of CRUD endpoints to manage different resources. The REST API is used also by a front-end application that executes calls by using Ajax. I would like to make some of these calls asynchronous…
14
votes
5 answers

When to use Java and Message Broker?

I am a developer at my office where SOA development is at its peaks. We use IBM MQ, IBM Message Broker and Java/J2EE Technologies. I have been currently put into project where Message Broker is used to develop a middleware which interacts between…
Richie
  • 9,006
  • 5
  • 25
  • 38
13
votes
2 answers

WARNING as java.io.EOFException when ActiveMQ starts

I am trying to start the ActiveMQ 5.11 and I see a WARNING as below: WARN | Transport Connection to: tcp://127.0.0.1:40890 failed: java.io.EOFException My activemq.xml is as below:
divinedragon
  • 5,105
  • 13
  • 50
  • 97
12
votes
1 answer

Difference between ApacheActiveMQ and ApacheActiveMQApollo

What's the difference between Apache ActiveMQ and Apache ActiveMQ Apollo? Apollo documents says:"ActiveMQ Apollo is a faster, more reliable, easier to maintain messaging broker built from the foundations of the original ActiveMQ. It accomplishes…
Sam
  • 6,770
  • 7
  • 50
  • 91
12
votes
4 answers

Java/Python communication via message broker

What is a good solution for communication via message broker that supports both (C)Python and Java/JMS applications? My particular requirements are: open source solution Available on Linux-based systems No rendezvous between sender and receiver…
wberry
  • 18,519
  • 8
  • 53
  • 85
12
votes
3 answers

Publish/Subscribe samples with RabbitMQ in .NET

I've built this sample: Getting Started With RabbitMQ in .net, but made 2 programs: one-publisher one-subscriber I'm using BasicPublish to publish and BasicAck to listen as in example. If I run one publisher and several subscribers-on every…
0x49D1
  • 8,505
  • 11
  • 76
  • 127
11
votes
2 answers

where to define default value in oracle package

when you define a package in oracle there is a like a header and then a body. One must define all parameters in both locations. I want to make one of the parameters optional for the calling program (IBM message broker). Do I have to add the default…
kralco626
  • 8,456
  • 38
  • 112
  • 169
9
votes
1 answer

How do I make my ActiveMQ broker drop offline durable subscribers

We have an ActiveMQ broker that's connected to from very different clients using JMS, AMQP, and MQTT. For some reason we haven't figured out yet a specific set of MQTT clients often (not always) subscribes durably. This is a test environment where…
sbi
  • 219,715
  • 46
  • 258
  • 445
1
2 3
43 44