Rabbit MQ adding header property to each message automatically
I am using Java 21 Sprig Boot, RabbitMQ 3.9.28 and I have many components that send messages to Rabbit. I need to add to a message header new property that would be a timestamp when the message was rejected because of exception in message handler. I need it because I have hundrets of messages in different error queues and I dont know when the exception occured – I cannot see any timestamp in message header or body so I cannot navigte to proper log file and correlate message with logs. Is there any interceptor abstraction that I could use some examples how to add a timestamp when specific message handling failed ?
Rabbit MQ adding header property to each message automatically
I am using Java 21 Sprig Boot, RabbitMQ 3.9.28 and I have many components that send messages to Rabbit. I need to add to a message header new property that would be a timestamp when the message was rejected because of exception in message handler. I need it because I have hundrets of messages in different error queues and I dont know when the exception occured – I cannot see any timestamp in message header or body so I cannot navigte to proper log file and correlate message with logs. Is there any interceptor abstraction that I could use some examples how to add a timestamp when specific message handling failed ?
Rabbit MQ adding header property to each message automatically
I am using Java 21 Sprig Boot, RabbitMQ 3.9.28 and I have many components that send messages to Rabbit. I need to add to a message header new property that would be a timestamp when the message was rejected because of exception in message handler. I need it because I have hundrets of messages in different error queues and I dont know when the exception occured – I cannot see any timestamp in message header or body so I cannot navigte to proper log file and correlate message with logs. Is there any interceptor abstraction that I could use some examples how to add a timestamp when specific message handling failed ?
Rabbit MQ adding header property to each message automatically
I am using Java 21 Sprig Boot, RabbitMQ 3.9.28 and I have many components that send messages to Rabbit. I need to add to a message header new property that would be a timestamp when the message was rejected because of exception in message handler. I need it because I have hundrets of messages in different error queues and I dont know when the exception occured – I cannot see any timestamp in message header or body so I cannot navigte to proper log file and correlate message with logs. Is there any interceptor abstraction that I could use some examples how to add a timestamp when specific message handling failed ?