How To Delete JMS Messages from a Queue with the WebLogic Scripting Tool (WLST) (Doc ID 1303092.1)

Last updated on MAY 24, 2017

Applies to:

Oracle Weblogic Server - Version 10.3.3 and later
Information in this document applies to any platform.
***Checked for relevance on 4-Sep-2013***

Goal

This document describes WebLogic Scripting Tool (WLST) commands to delete messages from a JMS message queue. Sometime, you may need to delete all the messages from JMS queues. However, using the Queues > Monitoring tab in the console, you might encounter an out of memory condition. This can happen because the console tries to load the messages prior to deleting them, leading to the out of memory condition.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms