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
7
votes
1 answer

What's the difference between "performSelector:withObject:afterDelay:" where delay is 0, and just calling the selector?

I'm working on an iPad project that uses a third-party SDK, and have been reading through the SDK code to learn about it and objective-c. I came across the following line in an asynchronous callback: [self performSelector:@selector(doSomething)…
J.Z.
  • 882
  • 9
  • 13
7
votes
1 answer

How to enable negative source journaling while sending a message to MSMQ?

I'm trying to send a message through System.Messaging.MessageQueue (.NET) and the message keeps on disappearing. I've seen people recommending enabling negative source journaling, but can't seem to find out how this is done. Anyone?
nieve
  • 4,601
  • 3
  • 20
  • 26
7
votes
2 answers

Google Cloud Messaging (GCM) not delivering when device is back online

I am developing Android app using GCM. Currently I am using standard Google libs on client and server sides. If I am testing on two Android devices GCM works fine when both devices switched on regardless if my app is running or not. However if…
user986589
  • 201
  • 2
  • 5
7
votes
1 answer

Where can I find a good documentation on Mach kernel messaging

I am looking for something comprehensive to read about 1) Mach messaging (mach_msg function and friends) 2) Mig system (mig_get_reply_port function and friends) I found following things: a) Different open source (as example…
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
7
votes
1 answer

Looking for simple persistent message buffer in Java

I am looking for a simple persistent buffer as temporary storage for JSON messages in a Java application. Memory usage should be relatively constant and not depend on the number of messages in the buffer. It would nice to be able to replay messages…
David Tinker
  • 9,383
  • 9
  • 66
  • 98
7
votes
2 answers

Messaging system query to get last messages, number of unread messages and array of users in conversation

I'm working on a messaging system with two tables and another table with the users information. A conversation can be between 2 or more users. Every conversation has a UID and every messages exchanged between users are labeled with that conversation…
Joris Blanc
  • 601
  • 1
  • 10
  • 24
7
votes
2 answers

Processing a message exactly once

Please consider the scenario as shown in the attached image : The Portal(producer) will send some message to the bus to which has to be processed by multiple applications(consumer) – PAYROLLAPP, HELPDESK etc. Multiple instances of consumer…
Kaliyug Antagonist
  • 3,512
  • 9
  • 51
  • 103
7
votes
2 answers

server push for millions of concurrent connections

I am building a distributed system that consists of potentially millions of clients which all need to keep an open (preferrably HTTP) connection to wait for a command from the server (which is running somewhere else). The load of messages /…
Daniel
  • 2,087
  • 3
  • 23
  • 37
6
votes
2 answers

Very Low Throughput Using The HornetQ Core Bridge

We are trying to use the HornetQ store and forward mechanism... however forwarding messages from one standalone HornetQ instance to another using the core bridge is very slow. We have not been able to increase the throughput rate above 200 messages…
6
votes
1 answer

Looking for message broker with a REST API

We would like to provide queues as a service (similar to Amazon SQS) for any application that requires it inside the company. Before reinventing the wheel we're looking some product that complies with: Scales horizontally High availability over…
pablomolnar
  • 528
  • 6
  • 14
6
votes
1 answer

Is there an enterprise message queue which can drop duplicate messages (first value stays)?

I am looking looking for a message queue with these requirements. Couldn't find it; maybe the closest was the rabbitmq-lvc plugin (but I need the first value in the line to stick and stay in front). Would anyone know a technology to support…
Tom
  • 143
  • 4
6
votes
2 answers

Distributed Domain Driven Design Resources

I am quite confident with developing DDD applications, but one area which is continuing to cause me problems is when two applications integrate with each other. I am struggling to find any useful books or resources on the subject. Books such as…
Paul T Davies
  • 2,527
  • 2
  • 22
  • 39
6
votes
1 answer

start whatsapp with android.content.Intent.ACTION_SENDTO

I'm triying to start whatsapp with an android intent: String uri = "smsto:+123456"; Intent messageIntent = new Intent(Intent.ACTION_SENDTO, Uri.parse(uri)); messageIntent.putExtra("sms_body", "My Message"); startActivity(messageIntent); It works…
Domi
  • 1,451
  • 2
  • 13
  • 25
6
votes
3 answers

One to One and Group Messaging using Kafka

As Kafka has a topic based pub-sub architecture how can I handle One-to-One and Group Messaging part of web application using Kafka? I am using SpringBoot+Angular stack and Docker Kafka server.
Nafiul Alam Fuji
  • 407
  • 7
  • 17
6
votes
3 answers

Using a background thread vs. using a message queue

I'm currently working on a series of alerts that will examine the status of a response from a foreign web service and send alerts based on the status of the the response object (for example timeouts, invalid data etc.). I want the main thread to…
Dave Maple
  • 8,102
  • 4
  • 45
  • 64