Questions tagged [dead-letter]

250 questions
0
votes
0 answers

One message processed OK, Next message rejected and goes to deadletter

I'm getting an strange behavior in my DEV environment. When I send a message to my queue it's dispatched correctly, but the next message (can be same content or different) always fails and is directly sent to my deadletter queue. And then this…
0
votes
1 answer

Spring cloud stream all messages sent to DLQ

I'm practicing with spring-cloud-stream with kafka-binding with the following application: spring: cloud: function: definition: single;react stream: bindings: single-in-0: destination: single-in …
0
votes
1 answer

Event Driven Architecture: Re-handling events in Dead Letter Queue results in incorrect state of domain model

I'm currently using Event Driven Architecture in microservices. I have one question related to event based systems: For example, suppose I have a Person model which reacts to ProfileChangeEvent(contains the name that the Person need to update with).…
Yun Teng
  • 23
  • 1
  • 4
0
votes
1 answer

Messages not sent to DLQ topic

I want to use DLQ for Exceptions Here is application.yml Topic is created successfully but i am not getting the exception message in my DLQ topic spring: cloud: stream: default: consumer: useNativeEncoding: true …
0
votes
1 answer

Azure Service Bus: Clear messages that have been on the dead letter queue for longer than a day

I am using Azure Service bus and at the moment there is a process that is sending messages that could not be delivered to a dead letter message queue. However, if after a day the message on the dead letter queue has not been re-queued I would like…
paddingtonMike
  • 1,441
  • 1
  • 21
  • 37
0
votes
1 answer

Google pubsub dead lettering not works in golang

I try google pubsub dead lettering. I use console cloud to enable the dead lettering for 1 subscription. I already set the dead letter topic and maxAttemptDelivery attribute to 5. My expectation is if 1 message redelivery more than 5 times in 1…
0
votes
1 answer

i am trying to use DeadLetterPublishingRecoverer but not working

2020-04-28 18:49:05.388 ERROR 14531 --- [ntainer#0-0-C-1] o.s.k.l.DeadLetterPublishingRecoverer : Dead-letter publication failed for: ProducerRecord(topic=LP_EVENT.DLT, partition=4, headers=RecordHeaders(headers = [RecordHeader(key =…
0
votes
1 answer

How to read the message from the service bus dead-letter queue?

How to read the message from the service bus dead-letter queue? I'm able to read message-id and a sequence number of the message, but I need the actual message. Can someone help me with this? Is it possible to read the actual message?
jaas
  • 131
  • 1
  • 5
0
votes
1 answer

Websphere MQ: reading from DLQ with JMS

I have to process messages in Dead Letter Queue (DLQ) using JMS API. The goal is to read body of the original messages and it's user properties. I realize that such approach to DLQ processing might be considered as bad design, but I have to deal…
user3714601
  • 1,156
  • 9
  • 27
0
votes
2 answers

Architecture issue - Azure servicebus and message order guarantee

Ok so i'm relatively new to the servicebus. Working on a project where we use Azure servicebus for queueing messages. Our architecture roughly looks like the following: So the idea is that in our SourceSystem all kinds of stuff happens, which leads…
Demoric
  • 296
  • 1
  • 3
  • 16
0
votes
1 answer

Why does Apache QPID Broker queue declare argument "x-qpid-dlq-enabled" not function properly?

I am attempting to run Apache QPID Broker (version 7.1.6) as an embedded, in memory broker and declare a queue on the broker with the queue declare option x-qpid-dlq-enabled set to "true". public void createQueues() throws Exception { …
sjc
  • 1
0
votes
1 answer

Handling dead letter queue with delay

I want to do the following: when a message fails and falls to my dead letter queue, I want to wait 5 minutes and republishes the same message on my queue. Today, using Spring Cloud Streams and RabbitMQ, I did the following code Based on this…
0
votes
1 answer

Handling dead-letter queue message-broker independent way

I have a project that currently uses Spring Cloud Streams and RabbitMQ underneath. I've implemented a logic based on the documentation. See below: @Component public class ReRouteDlq { private static final String ORIGINAL_QUEUE =…
0
votes
1 answer

Configuration to handle Dead-letter queue

I have a project that uses Spring Cloud Streams - RabbitMQ to exchange messages within micro-services. One thing that is critical for my project is that I must not lose any message. In order to minimize failures, I planned the following: Use the…
0
votes
1 answer

Azure Function v2 with ServiceBusQueueTrigger in NodeJS (index.js) - How to send message to Deadletter Queue if there is exception

I am using ServiceBusQueueTrigger in NodeJS. When there is error, it is expected to put message to Deadletter Queue instead of Complete it. How can I do that? Below is my code in index.js: module.exports = async function(context, message) { …
DaiKeung
  • 1,077
  • 1
  • 19
  • 38