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
34
votes
3 answers

Which protocol does JMS use to send and receive messages?

I want to know if JMS API uses any protocol to transfer messages or if uses its own. If the former, which protocol? I have read many articles over the net but I couldn't find an answer for this.
Shabeeralimsn
  • 797
  • 4
  • 11
  • 32
33
votes
3 answers

Is ZeroMQ production ready?

What are your experiences with ZeroMQ as a general purpose messaging middleware? Did you run into any show-stopping bugs or non-obvious "features"? E.g. 2.0 was not flushing messages properly, and the troubleshooting guide seems to give the most…
Alex B
  • 82,554
  • 44
  • 203
  • 280
33
votes
8 answers

Queue alternatives to MSMQ on Windows?

If you want to use a queuing product for durable messaging under Windows, running .NET 2.0 and above, which alternatives to MSMQ exist today? I know of ActiveMQ (http://activemq.apache.org/), and I've seen references to WSMQ (pointing to…
Thomas Lundström
  • 1,589
  • 1
  • 13
  • 18
33
votes
6 answers

Can someone explain an Enterprise Service Bus to me in non-buzzspeak?

Some of our partners are telling us that our software needs to interact with an Enterprise Service Bus. After researching this a bit, my instinct is to say that this is just buzz speak for saying that we need to have a platform-indpendent way to…
Jason Baker
  • 192,085
  • 135
  • 376
  • 510
31
votes
2 answers

Microservices: REST vs Messaging

I heard Amazon uses HTTP for its microservice based architecture. An alternative is to use a messaging system like RabbitMQ or Solace systems. I personally have experience with Solace based microservice architecture, but never with REST. Any idea…
Apurva Singh
  • 4,534
  • 4
  • 33
  • 42
31
votes
6 answers

Message Oriented Middleware (MoM) Vs. Enterprise Service Bus (ESB)

I come from a background of MoM. I think I understand ESB conceptually. However, I'm not too sure about the practical differences between the two when it comes to making a choice architecturally. Here is what I want to know 1) Any good links online…
a-sak
  • 1,320
  • 6
  • 21
  • 33
31
votes
2 answers

JMS AUTO_ACKNOWLEDGE when is it acknowledged?

I have tried to google this, but have not been successful. If I am using AUTO_ACKNOWLEDGE, and I have a consumer client written in Java, when is the message acknowledged? I am using a MessageListener which contains an onMessage method. Is the…
Reid Mac
  • 2,411
  • 6
  • 37
  • 64
30
votes
5 answers

Kafka - Delayed Queue implementation using high level consumer

Want to implement a delayed consumer using the high level consumer api main idea: produce messages by key (each msg contains creation timestamp) this makes sure that each partition has ordered messages by produced time. auto.commit.enable=false…
Nimrod007
  • 9,825
  • 8
  • 48
  • 71
30
votes
5 answers

Good resources to learn about Event Driven Architecture

Looking for books, blogs, web sites or videos. At the moment I am getting a lot of value from the blogs of Udi Dahan and Greg Young, but I was wondering if there are any other experts out there worth listening to?
Codebrain
  • 5,565
  • 4
  • 28
  • 21
28
votes
5 answers

Lightweight JMS broker

I'm looking for a small and yet efficient enough lightweight JMS broker solution with no or minimum of dependencies. My messaging code should be running in the environment with a lot of dependencies I have no control of. Thus it would make…
nixau
  • 1,095
  • 1
  • 14
  • 27
26
votes
3 answers

What is the difference between a message channel and the message queue itself?

What is the difference between a message channel and a message queue itself? They're different things. The queue actually holds messages which will be processed (pushed to the listener) in FIFO manner. A channel is a medium through which…
alokraop
  • 853
  • 1
  • 11
  • 29
26
votes
2 answers

how is select() alerted to an fd becoming "ready"?

I don't know why I'm having a hard time finding this, but I'm looking at some linux code where we're using select() waiting on a file descriptor to report it's ready. From the man page of select: select() and pselect() allow a program to monitor…
Mike
  • 47,263
  • 29
  • 113
  • 177
25
votes
2 answers

Reason for Uncaught Error: Attempting to use a disconnected port object

I am getting this error in background page when responding to request from content script. Does anyone know what can be causing this error? Full stack trace: Uncaught Error: Attempting to use a disconnected port object …
Marek
  • 2,419
  • 6
  • 34
  • 38
25
votes
2 answers

JMS - Going from one to multiple consumers

I have a JMS client which is producing messages and sending over a JMS queue to its unique consumer. What I want is more than one consumer getting those messages. The first thing that comes to my mind is converting the queue to a topic, so current…
25
votes
1 answer

Microsoft.ServiceBus.Messaging vs Microsoft.Azure.ServiceBus

MS has recently introduced the Microsoft.Azure.ServiceBus namespace. https://github.com/Azure/azure-service-bus/blob/master/samples/readme.md It is geared for the new .net standard framework (as if MS doesn't have enough semi-redundant code bases)…
I Stand With Russia
  • 6,254
  • 8
  • 39
  • 67