Skip to Content

What is the maximum lifespan of a message in SAP Enterprise Messaging

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 18 at 08:51 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • Mar 18 at 09:25 AM

    Thanks Tobias, was trying to find the answer to this recently as well

    Add comment
    10|10000 characters needed characters exceeded