Previous Topic: Scenario B: ImportObject() ParametersNext Topic: Scenario C: Processing steps


Scenario C: Asynchronous processing

This scenario describes a more complex integration with the External Agent, where e-mails are passed asynchronously to the External Agent.

In this scenario, the caller (a third party application) passes e-mails asynchronously to the External Agent. This allows the caller to maximize throughput, making optimum use of available system resources. Each time the caller passes an e-mail to the External Agent, it also passes a callback interface through which the External Agent will inform the caller of the results of processing that e-mail.

Policy is configured to return smart tags and deferred completion is not enabled. After each e-mail has been processed by the policy engine, the External Agent returns any associated smart tags in a callback to the caller. The caller then uses these smart tags to categorize the e‑mails.

External Agent API Processing Scenario C

Scenario C: Asynchronous processing

Steps 3 through 5 are repeated once for each e-mail passed by the caller to the External Agent. At any time, there may be multiple threads each performing steps 3 through 5.

More Information:

Synchronous Versus Asynchronous Operations

Single-pass Processing Versus Deferred Completion