It is considered a best practice to establish a retention policy and configure each Message Broker project's Maintenance options accordingly. In addition, you must also create Unity Scheduler tasks to perform the actions of archiving, purging, or deleting message items.
Messages should be archived or purged when possible to maintain system performance. Non-archived messages are only intended to be stored within the database for a short period of time for diagnostics purposes; they are not intended to provide a permanent record of the transaction.