Questions tagged [message-queue]

"Message queue" is a design pattern or software engineering component that defines discipline or API for communication between two or more interrelated processes or systems. The message queue enforces asynchronous processing and loose coupling. Depending on the implementation they may also provide delivery and order guarantees of the messages. Message processing guarantees are explicitly excluded from the design.

Message queue design pattern introduces an intermediary between the producer of messages and its consumer(s). This intermediary - the queue - accepts the messages and stores them until a consumer retrieves them or until some other event (e.g. expiration time). In general the producer does not know or care where, how, and when the messages in the queue will be consumed.

Software components such as MSMQ or IBM MQ or Tibco (usually called Queue Managers) provide queue storage and features for manipulation of messages in queues. These manipulations include: expiration, persistence, notification of expired messages (dead-letter queues), message cloning, queue security, distribution (between multiple Queue Managers).

This tag is best used for cross-platform message queuing questions. For questions about specific products, use or include the tag for that product:

3929 questions
1
vote
2 answers

how can i stop the consumer if the queue is empty RabbitMQ?

so im new to RabbitMQ, i have implemented a simple producer-consumer and for my use case i need to stop the consumer if the queue is empty but i can't find any solution. sender: connection = pika.BlockingConnection( …
1
vote
1 answer

Internal Message Queue vs External Message Queue

I am currently working on a microservice system using node and python. We are currently using AWS SQS to process messages between services on queues however in one of the services we send a message to the queue and that same service processes that…
BigL
  • 165
  • 1
  • 2
  • 15
1
vote
1 answer

How to add React form data to queue and process it later?

I am writing a ticketing system in react using Node.js as backend and Python for email server. What I am trying to do is when somebody submits a form, code access all the form data and send it to plain old JavaScript class with constructor only and…
James
  • 1,124
  • 3
  • 17
  • 37
1
vote
2 answers

Pubsublite message acknowledgement not working

I'm using Google pubsublite. Small dummy topic with single partition and a few messages. Python client lib. Doing the standard SubscriberCluent.subscribe with callback. The callback places message in a queue. When the msg is taken out of the queue…
1
vote
1 answer

How to convert RabbitMQ Messages into object list in c#

I am publishing json messages into a queue in rabbitmq and it is workin properly. But facing an issue that i want to consume all data in the issued queue (as a chat app) and i have to use all messages. For example I have 9 items in the queue as…
enderaric
  • 142
  • 4
  • 15
1
vote
0 answers

RabbitMq - Network Error - Requeue and Cancellation of Previous Work

When a consumer receives a message in RabbitMQ, and the Connection drops to that consumer, the server may choose to close that connection to the client, and requeue the work that it hadn't acked up to that point. However, the original client may…
gmn
  • 4,199
  • 4
  • 24
  • 46
1
vote
1 answer

Does rabbitmq maintain a binding history to a exchange?

I want to analyze the customers who are consuming the data from the topic exchange. Is there a way to get the history of binding to this topic exchange in the last 30 days or max available time limit? Suppose since last 1 week 20 services consumed…
Shubham Chadokar
  • 2,520
  • 1
  • 24
  • 45
1
vote
1 answer

How can I interrupt boost message queue send & receive that are being blocked by signals?

I have a process which is using boost message queue. When it is being blocked in either send or receive due to queue size limit has been reached, if I send a signal, it seemed the function call remained blocking. I expected the call to cancel or…
user1502776
  • 553
  • 7
  • 17
1
vote
1 answer

Is it wrong for a service to be producer and consumer of Rabbit MQ?

I want to create a "Notifications Microservice" that will handle different type of notifications (Google Chat, Email, etc). For this task, we will create a microservice that contains the logic on how to process these messages, and we'll be using…
JorgeeFG
  • 5,651
  • 12
  • 59
  • 92
1
vote
0 answers

React Native MQ with Azure Service Bus

I'm looking for some advice on how to set up a MQ system using Azure Service Bus with React Native. I'm trying to set up a (food) ordering system, but I'm facing a few problems. For Azure Service Bus to work, the Azure Service Bus SDK is…
1
vote
0 answers

Python library for Tibco message queue connection with client and server side python scripting

Need a proper python library for Tibco message queue - client side and server side samples as well in python. On Client side programing using python program: Below are the action items Required to connect Tibco message queue. Send the user request…
Prasanna C
  • 19
  • 6
1
vote
1 answer

Bi-directional messaging using Zero MQ pub sub pattern

I am trying to design a system that can be safely used to share messages between processes on the same system using ZeroMQ. I have chosen to use a central broker that binds to a particular port. All clients would bind to the same port and publish…
1
vote
1 answer

How to copy one tailer's read index to apply into another tailer using Chronicle Queue

I create a tailerA and use tailerA read to the 100th message. And I create another tailerB ChronicleQueue queue = SingleChronicleQueueBuilder.single("/home/data").rollCycle(rollCycles).build() ExcerptTailer tailerA =…
1
vote
0 answers

1000 On prem apps sending data to cloud

I am setting up an on-prem app to send data over to cloud. While evaluating the usage of a message broker, I read that there will be persistent connection between on-prem and cloud. Cloud is where the message broker queues are present. If we are…
1
vote
1 answer

Filter Expression - Service Bus Explorer

I am trying to filter out messages in the queue to be able to find certain ones. I am not able to filter out the messages on nested array values. I am not sure what I am doing wrong. I am using…