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

Clustered Jboss servers - Maintaining a unique count

We have a web service receiving requests at a very high frequency. The application is deployed on two jboss servers in a cluster (for load balancing) We process the requests and determine some requests as "good requests". Now we want to treat…
Maximus
  • 559
  • 1
  • 5
  • 19
1
vote
1 answer

Circuit breaker for asynchronous microservices..?

There is a ActiveMQ queue (QueueA). A service (MyService) subscribes to messages, processes it and sends the message to another ActiveMQ queue (QueueB). QueueA -> MyService -> QueueB Cosider a scenario where thousands of messages are in QueueA. At…
SRaj
  • 1,168
  • 1
  • 14
  • 36
1
vote
1 answer

How to use multiple queue worker with Shopware 6?

Are there any best practive in running multiple message queue workers in Shopware 6? We disabled the Admin Worker und configured supervisor.d to run 5 processes of messenger:consume and 1 process of scheduled-task:run . We experienced some weird…
Marius
  • 31
  • 5
1
vote
1 answer

WM_DESTROY, WM_CLOSE bypassing IMessageFilter

Below is my message filter: bool MyFilter::PreFilterMessage(Message %m){ switch(m.Msg){ case WM_CLOSE: case WM_DESTROY: case WM_NCDESTROY: case WM_QUIT: Debug::WriteLine(L"Gone!"); break; case WM_MOUSEMOVE: …
Agnel Kurian
  • 57,975
  • 43
  • 146
  • 217
1
vote
1 answer

Oracle AQ message lost after session killed while dequeue in progress

I have an issue with DBMS_AQ.deQueue on an Oracle 11g R2 Windows 2008 R2 database. When a session does a dequeue and it is killed after that (before a commit or rollback), the particular message is permanently removed from the queue. I would expect…
Robe Elckers
  • 967
  • 1
  • 6
  • 19
1
vote
1 answer

Spring's CachingConnectionFactory. Why do we need to close sessions although they are to be cached?

I am trying to get my head around the Spring CachingConnectionFactory. ActiveMQ documentation recommends when using JmsTemplate that a Spring CachingConnectionFactory or an ActiveMQ PooledConnectionFactory is used as the connection factory…
Jcov
  • 2,122
  • 2
  • 21
  • 32
1
vote
1 answer

IBM MQ message groups

I'm currently faced with a use case where I need to process multiple messages in parallel, but related messages should only be processed by one JMS consumer at a time. As an example, consider the messages ABCDEF and DEFGHI, followed by a sequence…
justin.saliba
  • 724
  • 1
  • 9
  • 17
1
vote
0 answers

RabbitMQ: Strange Behavior in Publisher Confirm

I'm new in RabbitMQ, and I using Publisher Confirm to ensure that message is delivered successfully. But I'm facing a strange behavior, which is when I publish a message and take a sequenceNumber the function channel.BasicAcks is fired n times…
Karim Alaa
  • 335
  • 2
  • 10
  • 34
1
vote
1 answer

Implement Spring JMSTemplate without acknowledgement

We have a requirement is to build spring boot command line applicarion where we have to send messages to queue. Only request queue has been setup. As there is no response queue setup, we are not getting any acknowledgement from client side if they…
Priyanka
  • 13
  • 3
1
vote
0 answers

How to use System V IPC message queues on Windows Linux subsystem in C?

Is there a method to use Unix System V IPC message queues on Windows without using pipes? System V shared memory and semaphore work, but messages do not seem to work on Windows.
ice bej
  • 19
  • 1
1
vote
1 answer

Deferring and re-receiving a deferred message in an IHostBuilder hosted service

If the processing of an Azure Service Bus message depends on another resource, e.g. an API or a database service, and this resource is not available, not calling CompleteMessageAsync() is not an option, because the message will be immediately…
cdonner
  • 37,019
  • 22
  • 105
  • 153
1
vote
2 answers

Cannot exit message loop from thread using Windows API and C++

I'm trying to implement the following scenario: Requirement Write a C++ program to capture all the keyboard inputs on Windows OS. The program should start capturing keystrokes and after about 3 seconds (the specific amount time is not very relevant,…
georgegkas
  • 417
  • 6
  • 14
1
vote
1 answer

Unable to use ActiveMQ priority messages using STOMP protocol in nodejs

I have an application which sends messages to a queue, and another application which subscribes to the queue and process it. I want OTP messages to be given higher priority than other messages, hence I am trying to use ActiveMQ message priority to…
Sangeeth Mukundan
  • 672
  • 1
  • 5
  • 11
1
vote
1 answer

How can I prevent a stored procedure from running twice at the same time?

I'm using an Aurora DB (ie MySQL version 5.6.10) as a queue, and I'm using a stored procedure to pull records out of a table in batches. The sproc works with the following steps... Select the next batch of data into a temptable Write the IDs from…
Bakhesh
  • 55
  • 1
  • 9
1
vote
0 answers

How to implement azure service bus in react-native?

Need to setup queue subscriber in client react-native app. Tried using the @azure/service-bus npm package, which uses the crypto module inside. While react-native does not support inbuilt nodejs modules, i got to know of some hacks to use those. But…
1 2 3
99
100