Questions tagged [message-bus]

68 questions
160
votes
7 answers

Message Queue vs Message Bus -- what are the differences?

And are there any? To me, MB knows both subscribers and publishers and acts as a mediator, notifying subscribers on new messages (effectively a "push" model). MQ, on the other hand, is more of a "pull" model, where consumers pull messages off a…
Anton Gogolev
  • 113,561
  • 39
  • 200
  • 288
26
votes
2 answers

Confusion about Message Bus / Command Dispatcher patterns

Recently I've been reading a lot about distributed messaging and associated patterns. I used some of them supported by the tools like for exemple NServiceBus. Many of those patterns are described on internet. Some of them I recently read was…
23
votes
3 answers

Amazon SQS Dead Letter Queue: Is it really dead letter or poison?

I'm trying to get clarification on what exactly Amazon's SQS Dead Letter Queue is doing. According to http://aws.typepad.com/aws/2014/01/amazon-sqs-new-dead-letter-queue.html Dead Letter Queue - The ARN (Amazon Resource Name) of an SQS queue that…
Michael
  • 1,535
  • 2
  • 17
  • 32
12
votes
1 answer

ZeroMQ Pub-Sub + Dynamic Discovery without a Mediator

I am testing ZeroMQ as Pub-Sub (service bus style) infra for a medium system. We have about 50 nodes, all of them should be publishers and subscribers. The network is kind of a star topology, but the edges "talk" with each other. We require Dynamic…
dux2
  • 1,770
  • 1
  • 21
  • 27
10
votes
2 answers

How to register a generic consumer adapter in MassTransit if I have a list of message types

I am successfully using MassTransit for a silly sample application where I publish an message (an event) from a Publisher console application and I receive it at two different consumers which are also console applications using RabbitMq. This is the…
diegosasw
  • 13,734
  • 16
  • 95
  • 159
6
votes
1 answer

One topic per event producer VS One topic shared across multiple producers messaging architecture

This is a bit of general question because it would apply not only to my scenario (with Azure Service Bus) but to any event bus in the context of publish/subscribers with events. The question is: Is there any preference towards having an…
5
votes
2 answers

Message Bus vs. Multicast

I am working on an application which consists of several modules and requires them to share information with each other. Example: publish/subscribe scenario where a module publishes some information (e.g. a state variable) and modules interested in…
Jahanzeb Farooq
  • 1,948
  • 4
  • 27
  • 27
5
votes
2 answers

Message bus and Message queue understanding

I would like to know if my understanding of Message Bus and Message Queue workings is correct. First thing first, I need to clear the naming, a service bus is used interchangeably with message bus? It is a publisher-subscriber type of system where…
user9124444
5
votes
1 answer

NotImplementedError (only partial hijack is supported.) using message_bus

I'm just adding the gem to the gemfile and writing to the js console: MessageBus.subscribe('/my_channel', function(data){ alert(data); }); it throws: Started POST "/message-bus/4700f3c66b254e31875de6caeba011df/poll" for 127.0.0.1 at 2016-04-11…
Alter Lagos
  • 12,090
  • 1
  • 70
  • 92
5
votes
1 answer

Command Bus/Dispatcher and Handler registration without Dependency Injection

I am trying to implement a consumable library that has read/write Application services for each Domain in the context of CQRS. A Command Bus (or Dispatcher, or whatever it can be called in this case) interface may or may not be exposed, but…
5
votes
2 answers

Design considerations for heavy loaded asp.net MVC + Web API application and asynchronous message bus

I'm planning to build a quite large application (large in term of concurrent user / number of request, not in term of features). Basically, I'll have a service somewhere, that is waiting for commands execute them, and acknowledge the completion…
Steve B
  • 36,818
  • 21
  • 101
  • 174
4
votes
5 answers

Message bus for OSGi services

I'm in the middle of a project where we will migrate a major software system based on a larger set of custom made technologies to be based on OSGi services. For this we will likely need a some sort of message bus that plays nice with OSGi services.…
Tonny Madsen
  • 12,628
  • 4
  • 31
  • 70
4
votes
2 answers

C# Azure: How to read body from Microsoft.Azure.ServiceBus.Message?

I have trouble with the Microsoft.Azure.ServiceBus.Message class. I want to create a Message object containing a payload object and then read this object back from it. In my current example I am not even sending the Message through a real Azure bus;…
Claus Appel
  • 379
  • 1
  • 4
  • 13
4
votes
1 answer

How to enable clustering of RabbitMQ Docker containers

I have an issue when trying to enable clustering using the official RabbitMQ Docker image - https://hub.docker.com/_/rabbitmq/. I'm using docker-compose to start my infrastructure, and I cannot get the "slave" nodes to join the cluster. When I run…
Adrian Oprea
  • 2,360
  • 3
  • 21
  • 23
4
votes
3 answers

Publish-Subscribe and a Message bus Python

I'm trying to create a central logging system for some of my python modules. I want to be able to send messages from a number of modules with logs, then central logger takes them and does the processing. For the simplicity, I want my module A to…
akalikin
  • 1,071
  • 12
  • 35
1
2 3 4 5