Here is an example in WLST for a Managed Server running on port 7005:
/u01/wls1036_dev/wlserver/common/bin/wlst.sh
connect('weblogic', 'Welcome1', 't3://localhost:7001')
serverRuntime()
cd('/JMSRuntime/AdminServer.jms/JMSServers/JMSServer-0/Destinations/SystemModule-0!Queue-0')
cmo.deleteMessages('')
ls()
cd(' ')
No comments:
Post a Comment