As with scenario A, this scenario assumes that the caller does not intend to send the e‑mail to an archive and that deferred completion is not enabled.
The parameters values needed to implement this scenario are:
Parameters |
Value |
Notes |
---|---|---|
messageId |
NULL |
The caller does not archive e-mails after policy processing. |
importSource |
WGN_ACTIVEIMPORTSOURCE_NONE |
|
|
|
The caller does not archive e-mails after policy processing. |
xmlMessageAttributes |
NULL |
The caller does not pass additional event attribute data to the External Agent. |
allowDeferredCompletion |
FALSE |
In scenario C, events processed by the policy engine can be committed to the CMS database without waiting for the client to process the results of policy analysis. |
contextTag |
Any value |
An e-mail identifier. The External Agent returns the same value to the caller in the subsequent callback (see step 3), enabling the caller to match the callback to the original e‑mail. |
asyncCallback |
Interface pointer |
A pointer to an interface implemented by a caller-defined class, through which WgnActiveImportConnector will inform the caller of the results from processing the message. |
Note: For the full set of parameter values that must be passed to ImportObjectAsync() when processing a MAPI message, see Input Combinations for ImportObject() Method.
Note: Steps 3-4-5 are performed once for each e-mail. That is, this sequence (3-4-5) is repeated for each e-mail passed to the External Agent. At any time, there may be multiple threads each performing steps 3-4-5.
The WgnActiveImportConnector boundary interfaces must be released at the end of the session. These are the IWgnImportConectorConfig (if queried) and IWgnActiveImportConnector interfaces.
Copyright © 2014 CA.
All rights reserved.
|
|