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

Any way to determine which object called a method?

I'm hoping that Ruby's message-passing infrastructure means there might be some clever trick for this. How do I determine the calling object -- which object called the method I'm currently in?
Joseph Weissman
  • 5,697
  • 5
  • 46
  • 75
24
votes
5 answers

JMS Messaging Performance: Lots of Topics/Queues vs. Extensive Filtering (Message Selectors)

I'm working on a project that is going to make heavy use of JBoss Messaging (JMS). I'm tasked with building an easy to use wrapper around Messaging for other developers and am thinking about using JMS's Message Selectors to provide a filtering…
James
  • 1,391
  • 2
  • 14
  • 20
24
votes
1 answer

AMQP 0-9-1 vs 1-0

I am looking for a messaging service for a new project that will have to interface some C# applications with some Java applications. I really like RabbitMQ because it seems to have amazing support for both technologies. I see in the RabbitMQ specs…
ab_732
  • 3,639
  • 6
  • 45
  • 61
23
votes
12 answers

Tool for posting test messages onto a JMS queue?

Can anyone recommend a tool for quickly posting test messages onto a JMS queue? Description: The tool should allow the user to enter some data, perhaps an XML payload, and then submit it to a queue. I should be able to test consumer without…
ryan
  • 5,039
  • 13
  • 35
  • 42
22
votes
5 answers

Microservices and SOA using messaging

I've been very interested in trying out microservices/SOA as an architecture and am having a hard time conceptualizing how the integration between services would actually be done. I like the idea of using messaging to decouple the clients from the…
user2868740
  • 367
  • 3
  • 10
22
votes
3 answers

Shared Database vs. Messaging Architecture

I was down the pub with a friend of mine yesterday and we started discussing the architecture in use at the company he works at. The conversation basically surrounded the pros/cons of a shared database architecture against a distributed independent…
user2294382
  • 871
  • 3
  • 11
  • 25
21
votes
3 answers

How to restore state in an event based, message driven microservice architecture on failure scenario

In the context of a microservice architecture, a message driven, asynchronous, event based design seems to be gaining popularity (see here and here for some examples, as well as the Reactive Manifesto - Message Driven trait) as opposed to a…
20
votes
3 answers

Implementing a Message Bus architecture

I'm currently doing analysis and design for a new message bus architecture in my company. I have tried MSMQ to do something like this in the past and it works well and was thinking of doing the same thing again for this project but using WCF as the…
heartlandcoder
  • 647
  • 1
  • 5
  • 14
20
votes
5 answers

Multicasting, Messaging, ActiveMQ vs. MSMQ?

I'm working on a messaging/notification system for our products. Basic requirements are: Fire and forget Persistent set of messages, possibly updating, to stay there until the sender says to remove them The libraries will be written in C#. …
Chris Marasti-Georg
  • 34,091
  • 15
  • 92
  • 137
19
votes
1 answer

Testing Camel with MockEndpoints

I've got a series of "pipelined" components that all communicate through ActiveMQ message queues. Each component uses Camel to treat each of these queues as an Endpoint. Each component uses the same basic pattern: Where each component consumes…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
19
votes
6 answers

Can someone explain what message brokers are used for?

In my line of work it's hard to go five minutes without someone extolling the virtues of MQ Series or MSMQ or the like, and I always wonder, after the sparkle of buzzwords has passed, what are some actual examples of these wonderful devices out in…
Chris R
  • 17,546
  • 23
  • 105
  • 172
19
votes
3 answers

How to use a disruptor with multiple message types

My system has two different types of messages - type A and B. Each message has a different structure - type A contains an int member and type B contains a double member. My system needs to pass both types of messages to numerous business logic…
19
votes
1 answer

Achieving JMS/AMQP messaging patterns using Redis

This question arises as I came across some mentions (such as this), about using a Messaging software such as ZeroMQ alongwith Redis, but I keep hearing about Redis itself used a messaging-system. So, if Redis is used along with other messaging…
2020
  • 2,821
  • 2
  • 23
  • 40
18
votes
5 answers

Is message priority inherently unimportant in message queue systems?

It seems like most of the messaging systems I've looked at have basic, if any, support for priority message queues. For example, the AMQP only specifies a minimum of 2 priorities. RabbitMQ, an AMQP implementation, doesn't support any priorities.…
Edward Dale
  • 29,597
  • 13
  • 90
  • 129
18
votes
4 answers

Rate limiting core.async channels in Clojure

I'm using Clojure with core.async, and have a situation where I want to put a rate limit on the number of messages processed through a channel. In particular I would like to: Define a rate limit e.g. 1,000 messages per second Handle messages…
mikera
  • 105,238
  • 25
  • 256
  • 415