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

PHP Create C string

I need to pass messages to my C program from PHP and I am doing this via message queues. I have the message queues working and both sides can receive messages. The problem is on the php side formatting the data. I am trying to send C style string,…
user623879
  • 4,066
  • 9
  • 38
  • 53
1
vote
1 answer

RabbitMQ direct exchange is not consuming messages

edit: edited to make it more generalized I have a producer thread wanting to send a message to the consumer threads in Java using RabbitMQ direct exchange, but my consumer are not receiving the dish. Below is the method my producer uses to publish…
1
vote
1 answer

How do I achieve one by one message delivery for each user individually (in parallel)?

I need a queue/message broker that would allow me to receive by 1 message for each user. Previously I've been using FIFO SQS and each user has its own message group id, which allows me to have 1 message inflight for each user. But I've ended up…
Vladlen Gladis
  • 1,699
  • 5
  • 19
  • 41
1
vote
2 answers

Azure inside out connection

I am working on connecting my on premise app to Azure logic app. The problem here is that my network does not accept any inbound calls but is not limited in anyway to make outbound calls, so I have to open connection from inside out. At the current…
1
vote
1 answer

MassTransit - Azure Service Bus Consumer auto re-consumes the same message

I have a worker service and an api service using Mass Transit - Azure Message Bus. The api acts as a sender, the worker acts as a receiver. In the worker service, I created a consumer which consumes the message from the queue. However, while the…
1
vote
0 answers

convertSendAndReceive() returns null Object

I have been looking for a solution since morning. Why is it returning null rather than an Object? Any ideas Consumer part takes the message but the response is Null with the convertSendAndReceive() method. RabbitMQProducer.java private static final…
jameson55
  • 31
  • 9
1
vote
1 answer

Rate Limiting the queue receiver in Azures Service Bus Queues

I have to apply a rate limit of 5 messages per sec on my queue receiver, this rate limit should work even if the receiver is available on multiple deployed pods. Is there a way to apply rate limit on queue receiver in Azure Service Bus Queues? I…
1
vote
1 answer

How to send message with headers to queue in ActiveMQ Artemis via GUI

I need to send message with headers through Artemis Queue. How could do it. Headers:--header 'PAYMENT_RE: PAGO-X' \ --header 'Content-Type: application/json' \ --header 'OPERATION_ID: 72ab0c45-7871-4fdc-9cb7-e8644a87372d' \ --header 'ORDER_ID:…
Margarita
  • 13
  • 3
1
vote
1 answer

Message Queueing Architecture

I'm trying to modify an existing workflow described below to be asynchronous using message queueing. User requests a set of data records to export in a web app A request is sent to an Export API endpoint which triggers a sequence of service calls…
user95488
  • 129
  • 2
  • 11
1
vote
0 answers

Unable to create named message queue

I am stuck with quite a strange error in message queue code which used to work completely fine before. The error I am getting is : terminate called after throwing an instance of 'std::runtime_error' what(): Unable to create named message…
1
vote
1 answer

What is the difference between an alias queue and a local queue?

In terms of JMS I just need a brief overview on how they are different. ie. does the alias receive the same messages that the local one does.
toop
  • 10,834
  • 24
  • 66
  • 87
1
vote
1 answer

Microservice Messaging

If i have a generic service, like an email service which sends emails based on events from other services, which one of these approaches would be best: Email service listens to multiple queues/specific events and sends emails once those events…
1
vote
1 answer

Issue with Ibmmq docker container run

Context: I have been running the NodeJS app with ibmmq as an npm package. This service consumes msg with the help of ibmmq package. For running this app, I had built below docker file. STAGE1: BUILD FROM node:16.13.2-bullseye-slim AS base WORKDIR…
Prabhat Mishra
  • 951
  • 2
  • 12
  • 33
1
vote
4 answers

Rules of thumb regarding Messaging / Message Queueing

Can someone provide some rules of thumb regarding when to use Message Queueing and what practical real-world problems they are supposed to address? Thanks
NoCarrier
  • 2,558
  • 4
  • 33
  • 44
1
vote
1 answer

Azure Durable Functions as Message Queue

I have a serverless function that receives orders, about ~30 per day. This function is depending on a third-party API to perform some additional lookups and checks. However, this external endpoint isn't 100% reliable and I need to be able to store…
picklepick
  • 1,370
  • 1
  • 11
  • 24