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

        @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.
        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