on 2019 Mar 18 8:03 AM
For how long will messages be kept in queues in SAP Enterprise Messaging if they aren't pulled. Is there a maximum lifespan/retention period?
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Raffael,
there is no maximum lifespan/retention period for messages in a queue. They will be stored in the queue until they are either consumed from the queue, or until the whole queue is being deleted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tobias,
"[...] or until the whole queue is being deleted." - what events can trigger a deletion of a queue? Does "queue is being deleted" mean that one deletes the queue manually or could a restart/update of the SCP also delete queues? (Or would queues be restored in case of an outage of SCP?)
Hi Raffael,
I was referring to a manual deletion of a queue. Meaning an end-user deletes the queue either via the Enterprise Messaging UI or via the Management API.
In case of a restart of the messaging broker (Enterprise Messaging) all queues will be restored by default. If you want your messages inside the queues to be persistet even beyond a server restart, you need to set the header attribute "durable" of your message object. See the AMQP 1.0 specification for further details: http://www.amqp.org/resources/download
User | Count |
---|---|
89 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.