Broker 10.5 | webMethods Broker Documentation | Administering webMethods Broker | Working with Test Clients | Managing Document Subscriptions for a Test Client | Creating Subscriptions for a Test Client | Creating or Editing a Filter
 
Creating or Editing a Filter
You can create a filter to save with the document type subscription. A filter further refines a document type subscription because Broker only places documents whose contents meet the filter criteria in the client queue. You might create a filter for a test client to make sure that the filter is properly designed or that source documents are populated with the expected values.
*To create or edit a filter
1. In My webMethods: Messaging > Broker Server s > Clients.
2. In the Client List, in the Client ID column, click the name of the test client for which you want to create document type subscriptions. If the test client does not appear in the list, use the Search tab to locate it.
3. On the Client Details page, click Test Client View in the Client Details Information view. My webMethods displays the Test Client Information view.
4. Click the Subscriptions tab.
5. Locate the document type for which you want to create or edit a filter.
6. Click in the Edit Filter column. My webMethods displays the Test Client Document Type Filter page.
7. In the Filter Expression field, type the filter that you want to save with the subscription. Broker places only documents that meet the filter criteria in the test client queue. For information about filter syntax, see the webMethods Broker Client Java API Programmer’s Guide.
8. Click OK. Broker saves the filter with the document type.