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 Detail

      • preProcess

        PreProcessingResult preProcess​(javax.mail.Message templateMessage,
                                       IncomingMessageInfo messageInfo)
        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 - the javax.mail.Message of the template message
        messageInfo - the message info of the incoming message
        Returns:
        the PreProcessingResult
        Since:
        10.0.16