As with scenario A, this scenario assumes that the caller does not intend to send the e‑mail to an archive. But unlike scenario A, in this scenario deferred completion is enabled.
The parameters values needed to implement this scenario are therefore:
|
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 |
TRUE |
In scenario B, events processed by the policy engine cannot be committed to the CMS database until the caller has processed the results of policy analysis. |
Note: For the full set of parameter values that must be passed to ImportObject() when processing a MAPI message, see Scenario B: ImportObject() Parameters.
If the e-mail is in a 'must retain' category, the caller calls Commit() method in the IWgnImportConnectorDeferredCompletion interface to instruct the External Agent to save the e-mail to the CMS database.
The WgnActiveImportConnector boundary interfaces must be released at the end of the session. These are the IWgnImportConectorConfig (if queried) and IWgnActiveImportConnector interfaces.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |