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
6
votes
2 answers

What's the recommended way to queue "delayed execution" messages via ServiceStack/Redis MQ?

I would like to queue up messages to be processed, only after a given duration of time elapses (i.e., a minimum date/time for execution is met), and/or at processing time of a message, defer its execution to a later point in time (say some…
JesseP
  • 756
  • 1
  • 7
  • 23
6
votes
2 answers

How to dynamically invoke delegates with known parameter base type?

I am trying to implement my own messaging system for a Unity game. I have a basic version working - a very simplified example of this is as follows: // Messaging class: private Dictionary>> listeners; // Set up by…
Paul
  • 63
  • 4
6
votes
2 answers

Is "self" weak within a method in ARC?

I have a method that occasionally crashes. -(void)foo{ [self doSomething]; [self.delegate didFinish]; [self doSomethingElse]; } -doSomething works correctly, then I call to a delegate -didFinish. Within -didFinish, the reference to this…
6
votes
1 answer

ISO 20022 and SWIFT Messages

Does the ISO 20022 standard message types have a one to one counterpart with SWIFT MX and SWIFT MT? So far I have looked into the documentation of each one of them, but it's all too much and I'm still trying to wrap my head around it.
Jan Michael Tan
  • 299
  • 3
  • 10
6
votes
3 answers

Can an Akka actor store its outgoing messages in a durable mailbox?

Can an Akka actor store its outgoing messages in a local durable outbox until its remote receiver actor is ready to receive them in its own durable inbox? In other words, can I use Akka to perform store-and-forward style messaging similar to…
Derek Mahar
  • 27,608
  • 43
  • 124
  • 174
6
votes
2 answers

Creating a retry mechanism in MSMQ without WCF

I have multiple existing applications that send and receive messages using MSMQ via the System.Messaging API. The queues are generally non-transactional and are a mixture of MSMQ 3 and 4. The receiving applications handle poison messages now to the…
Mark Bostleman
  • 2,185
  • 3
  • 25
  • 32
6
votes
1 answer

Multiple consumers for a single queue in MassTransit

Is it possible to have several consumers listening on a single MSMQ instance and use the Selective Consumer interface for having each one deal with a distinct subset of the messages? I can't seem to get this scenario to work correctly using pub/sub…
Yuval
  • 1,382
  • 10
  • 22
6
votes
2 answers

What are appropriate settings for ZMQ when sending 500K 64 byte messages?

I have an application that periodically needs to send out a snapshot of its current state, which currently would be represented by about 500,000 64 byte messages. I've been having difficulty getting this many messages sent and received quickly and…
scott
  • 1,127
  • 1
  • 12
  • 21
6
votes
2 answers

Why is this JeroMQ (ZeroMQ port) benchmark so slow?

I would like to use this library I found, it's a pure java port (not a wrapper) of zeromq. I am trying to test it and while it claims some good numbers, the test I am performing is giving rather poor results and it's even performed locally (client…
Dan
  • 11,077
  • 20
  • 84
  • 119
6
votes
2 answers

Cross Language Messaging

We use a java-focused tool that uses JMS both internally and to communicate with external java software. We now have to set up a new interface to a C# application. Our JMS provider provides a C# implementation that should work but I'm not entirely…
nablex
  • 4,635
  • 4
  • 36
  • 51
6
votes
3 answers

Use of logger in Utility classes of java

i am just wondering 'bout use of Logger API in Utility classes while writing java code. we can always use logger where we will be using our utility class to log a proper message BUT what i want to ask is-- Is it a good practice to use Logger in…
Amit Mutreja
  • 168
  • 1
  • 7
6
votes
3 answers

Message Buses and MOM - the same thing?

Every description on the Message Bus architecture seems to describe a centralised intermediary for routing messages: Each application has a single connection to the message bus instead of multiple dedicated connections to each of the other…
Lawrence Wagerfield
  • 6,471
  • 5
  • 42
  • 84
5
votes
1 answer

Trade-offs implementing versioning of services accessed by reliable async messaging?

Clients of HTTP services can specify the version (and format) they understand by requesting or posting data with a specific content type. The HTTP protocol defines error codes for reporting that the content type is not understood. Messaging systems…
Nat
  • 9,820
  • 3
  • 31
  • 33
5
votes
4 answers

When should I use each of Android's different messaging types?

I've been working with Android for well over a year now, but I still have trouble determining when different types of messaging/communication between processes/threads should be used. I'm mainly talking about broadcasting Intents, using AIDL for…
user113946
  • 665
  • 1
  • 6
  • 6
5
votes
2 answers

CQRS applying cross cutting concerns such as security

Suppose I have a complex system where there large trees of people. Simple thoughts are employees / manager relationship, many employees report to one manager. Now in addition to manager there are support staff that are capable of acting on the…
Chris Marisic
  • 32,487
  • 24
  • 164
  • 258