on 12-19-2020 7:53 PM
When using the UI for Enterprise Messaging, requests are made to the queues endpoint where each queue have the properties maxRedeliveryCount and deadMsgQueue. How can these be configured?
I need them for my webhook subscriptions to not block the queue whenever there are messages that can't be handled. My webhooks are configured with QoS = 1.
GET https://<host>.enterprise-messaging.cfapps.eu10.hana.ondemand.com/clients/queues
{
"name": "em/sap/ecc/queue-equipments",
"messageCount": 1873,
"queueSizeInBytes": 623139,
"unacknowledgedMessageCount": 4,
"maxQueueSizeInBytes": 1572864000,
"accessType": "EXCLUSIVE",
"maxDeliveredUnackedMsgsPerFlow": 10000,
"maxMessageSizeInBytes": 10000000,
"respectTtl": false,
"maxRedeliveryCount": 0,
"maxTtl": 0,
"deadMsgQueue": null
}
hi Mikael,
you an use maxRedeliveryCount and deadMsgQueue set these properties while creating/updating a queue.
{"maxRedeliveryCount": 1,"deadMsgQueue": "DMQ"}
by default the value will be zero for maxRedeliveryCount and deadMsgQueue will be null.
Note: By default, each Queue is assigned a Default deadMsgQueue which does not exists. User must create a deadMsgQueue and assign it to the Actual Queue. when TTL expires for a message or the Number of redelivery attempts for a message exceeds the Max Redelivery value the messages instead of getting discarded can be moved to DMQ.
we are yet to update the documentation for these properties.
Regards,
Tejesvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.