Managing Document Retrieval
Within the publish-and-subscribe model, document retrieval is the process in which Integration Server uses a server thread to fetch more documents from the messaging provider. Document retrieval requires a server thread with which to request and retrieve documents from the messaging provider. Document retrieval also requires memory because Integration Server keeps temporary copies of the documents it is retrieving in memory. Integration Server releases the temporary copies from memory after successfully processing the document.
Integration Server provides controls that you can use to manage the server resources used for document retrieval. Specifically, you can use the controls to:
Manage the rate of document retrieval and the amount of memory used during document retrieval by adjusting trigger queue capacity.
Suspend or resume document retrieval for one or more
webMethods messaging triggers.
Limit the number of server threads used for retrieving documents from
Broker.
These controls can be used during development, capacity planning, or at run time. The following sections provide more information about these controls.
You can also configure the frequency with which
Integration Server polls each trigger client queue on the
Broker for new documents. For more information, see
Delaying Polling Requests for
webMethods Messaging
Triggers.