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.
Questions tagged [messaging]
2583 questions
6
votes
2 answers
PostMessage returns "invalid window handle" in thread
Background: I am using OmniThreadLibrary to load batch mode ADO stored procedures in the background. I am doing some slightly dodgy stuff by swapping the connection after opening the SP but that seems to be quite reliable. I'm using PostMessage to…
Мסž
6
votes
1 answer
Outbound channel adapter vs. outbound gateway for HTTP communication
I'm using Spring Integration (4.2.2) and Spring Integration Java DSL (1.1.0). I have two cases where I need to integrate with other services with HTTP. I'm not sure whether to use an outbound channel adapter or an outbound gateway. I guess both…

Adam Michalik
- 9,678
- 13
- 71
- 102
6
votes
0 answers
Auto scaling rabbitmq consumers
We run one consumer per python app and run multiple processes based on the queue load. As a next step, I would like to auto scale these consumer processes so that we can avoid unnecessary processes when the queue size is low and add additional…

vrtx54234
- 2,196
- 3
- 30
- 53
6
votes
1 answer
ActiveMQ JMS Durable Topic in a Network of Brokers
Say you have BrokerA and BrokerB connected to each other in the "Network of Brokers" Pattern. You have ClientZ connect to BrokerA and create a durable subscription to TopicT. That client disconnects for 15 mins from BrokerA, then reconnects to…

Jonathan S. Fisher
- 8,189
- 6
- 46
- 84
6
votes
1 answer
Getting started with the Telegram API: Any useful resource?
there are already some threads on the class Telegram API, but none was really helpful.
I'm currently trying to implement it in an Android app in order to send messages through Telegram. The documentation they provide is close to incomprehensible, so…

Emanuel0101
- 113
- 1
- 10
6
votes
2 answers
Apache Storm: Track tuples by unique ID from Source Spout to Final Bolt
I want a method of uniquely identifying tuples throughout a whole Storm topology, so that each tuple can be tracked from Spout to the final Bolt.
The way I understand it is when passing a unique message id with an emit from a spout for example:…

perkss
- 1,037
- 1
- 11
- 37
6
votes
1 answer
When to use various Akka Mailbox types
I'm trying to understand when and where to use the different built-in Akka mailboxes as well as when it is appropriate to roll your own. However, nowhere on that page does it explain what a "bounded mailbox" actually is, or how it behaves different…

smeeb
- 27,777
- 57
- 250
- 447
6
votes
3 answers
Dealing with queued command handler response. CQRS
Consider the situation:
public class OrderController {
IBus bus;
public OrderController(IBus bus) {
this.bus = bus;
}
public ActionResult Checkout(String orderId) {
var command = new CheckoutOrderCommand(orderId);
…

lexeme
- 2,915
- 10
- 60
- 125
6
votes
2 answers
Detect which SIM card has received message
I'm trying to detect which SIM card has received the incoming message in BroadcastReceiver on a Dual or Triple SIM support phone.
Note:
All SIM cards has same SMSC.

Mohammad Lotfi
- 369
- 5
- 16
6
votes
0 answers
GPGS reliable messages not reaching other player
I am using google play game service to handle the multiplayer in my game but I have reached major stumbling block. I use realtime multiplayer in game and send reliable messages periodically between the users (1 message per second on average; larger…

eBehbahani
- 1,579
- 5
- 19
- 41
6
votes
6 answers
Is there an use case for non-blocking receive when I have threads?
I know non-blocking receive is not used as much in message passing, but still some intuition tells me, it is needed. Take for example GUI event driven applications, you need some way to wait for a message in a non-blocking way, so your program can…

Gabriel Ščerbák
- 18,240
- 8
- 37
- 52
6
votes
2 answers
RabbitMQ and Sails.js
I'm having trouble using RabbitMQ with my Sails app. I'm unsure of where to place the subscriber code. What I'm trying to do is build a notifications system so that when an administrator approves a user's data request, the user's dashboard will pop…

kk415kk
- 1,227
- 1
- 14
- 30
6
votes
1 answer
Publish/subscribe REST-HTTP Simple Protocol web services architecture?
I'm asking your sugegstions about an "architectural" scenario:
I'd looking for a simplest publish/subscribe architecture to let talk two decoupled servers over on internet, sharing "sparse" but "real-time" messages/events.
Let me explain:
The…

Giorgio Robino
- 2,148
- 6
- 38
- 59
6
votes
1 answer
How should I set rebus up for one producer and many consumers
I am going through the samples and reading the docs but I am still not sure of how to configure rebus for my scenario (or that using the bus is a good fit).
I have one producer of Tasks to do, lets say ImportOrder and CalculateOrderPrice
I want to…

Jon
- 561
- 4
- 14
6
votes
2 answers
Critical RabbitMQ method arguments
I'm trying to read up and understand 3 fundamental methods in the RabbitMQ Java client:
Channel#basicConsume
Channel#basicPublish; and
DefaultConsumer#handleDelivery
These methods have several arguments that are cryptic and mysterious, and…
user1768830