Package com.veeva.vault.sdk.api.email
Interface EmailProcessor
- All Superinterfaces:
com.veeva.vault.sdk.infrastructure.core.SdkEntryPoint<EmailProcessorContext>
public interface EmailProcessor
extends com.veeva.vault.sdk.infrastructure.core.SdkEntryPoint<EmailProcessorContext>
Invoked to process an email received by the Vault Email Service.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(EmailProcessorContext emailProcessorContext) Email processing logic is implemented inside this method.
-
Method Details
-
execute
Email processing logic is implemented inside this method. If exceptions are thrown, the current transaction rolls back and theemail__sys
object record associated with theEmailItem
automatically transitions to the "Failed" lifecycle state.- Parameters:
emailProcessorContext
- contextual information for the invocation of an email processor
-