- Connect to the environment where you want to remove a document. (see [MWS Environments|MWSConnectionInformation])
- Navigate to "Administration > Messaging > Broker Servers > Clients"
- Search for the subscribing Trigger (easiest way is to use the package name where the Trigger is located)
- Click on the Client ID link of the appropriate Trigger
- To remove all documents
- Click on the "Statistics" tab
- Click the "Clear Queue" button
- To remove a single document
- Click on the "Configuration" tab
- Click on the "Lock Queue" button (make sure to unlock queue when done)
- Click on the "Browse Queue" tab
- Search for the document you want to remove
- Select the document
- Click the "Delete" button
- Click back on the "Configuration" tab
- Click on the "Unlock Queue" button (make sure you do this!!!)
I've been working with webMethods for about a year now (wow, 3 years now) and I have found there are lots of items that are hard to figure out via the documentation and very few posts on the web about them. I thought I'd post them here as I find them to help out other people (hopefully).
Thursday, October 28, 2010
Removing a published document from the Broker
If you have a document set to infinite retry, but it's never going to go through you can remove it from the Broker. Here's how:
Subscribe to:
Post Comments (Atom)
Thanks so much (: A newbie like me could use a blog like this, sometimes this program looks so complicated that I just give up :(
ReplyDeleteNote that if you have 'suspend and retry' enabled, you might have to temporarily change it to 'throw exception' to clear the document at the front of the queue, as the trigger seems to hold the previous message in memory, even though you might have cleared it from the broker.
ReplyDeletej
ReplyDelete