You can do the following:
1. Set an expiry time of the EMS queue to automatically delete the messages on that queue after a given time
2. Set up a Receive Misc Message process starter listening for that message
In BC palette, one can consume the message from the queue, auto confirm the message and discard the message without further processing.
In the BC Connection for RV, set it by checking "Server to PP CM Auto Confirm". If this option is enabled and any listener using this BCServerConfig is loaded, all messages for this BCServerConfig will be confirmed even though there is no active listener loaded in the palette for these messages (messages are not dispatched successfully to any listener).
In the BC connection for JMS, set it by checking "Auto Confirm", Once this check box is selected, inbound messages are automatically confirmed, which means that inbound JMS messages dispatched to BusinessWorks will be acknowledged so that the JMS provider can remove them accordingly.
For more information, refer to the Receive Misc. Msg. activity in the BC palette documentation.