Package com.novomind.ecom.api.imail.core
Interface TemplateMessageManipulator
-
public interface TemplateMessageManipulator
This plugin provides a hook to manipulate the template message before being pushed to the routing incoming queue.
- Since:
- 10.0.16
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default TemplateMessageManipulationResult
manipulateTemplateMessage(TemplateMessageManipulationInput templateMessageManipulationInput)
This method is called before the template message enters the processing cycle.default PreProcessingResult
preProcess(javax.mail.Message templateMessage, IncomingMessageInfo messageInfo)
Deprecated, for removal: This API element is subject to removal in a future version.Please implement the methodmanipulateTemplateMessage(TemplateMessageManipulationInput)
instead.
-
-
-
Method Detail
-
preProcess
@Deprecated(since="12.33", forRemoval=true) default PreProcessingResult preProcess(javax.mail.Message templateMessage, IncomingMessageInfo messageInfo)
Deprecated, for removal: This API element is subject to removal in a future version.Please implement the methodmanipulateTemplateMessage(TemplateMessageManipulationInput)
instead.This method is called before the template message enters the processing cycle. For example it can be used for adding (X-) headers to the template message.- Parameters:
templateMessage
- thejavax.mail.Message
of the template messagemessageInfo
- the message info of the incoming message- Returns:
- the
PreProcessingResult
- Since:
- 10.0.16
-
manipulateTemplateMessage
default TemplateMessageManipulationResult manipulateTemplateMessage(TemplateMessageManipulationInput templateMessageManipulationInput)
This method is called before the template message enters the processing cycle. For example it can be used for adding (X-) headers to the template message.- Parameters:
templateMessageManipulationInput
- theTemplateMessageManipulationInput
provides all data to manipulate the template message- Returns:
- the
TemplateMessageManipulationResult
- Since:
- 12.33
-
-