Class TestImplementationMessageMappingCallback

    • Field Detail

      • TEST_MESSAGE_MAPPING_CALLBACK_ID

        public static final java.lang.String TEST_MESSAGE_MAPPING_CALLBACK_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • TestImplementationMessageMappingCallback

        public TestImplementationMessageMappingCallback()
    • Method Detail

      • process

        public boolean process​(BackendMessage message)
        Description copied from interface: MessageMappingCallbackProcessor
        Method is called during message replacement. Implement this message if you want to change the message before it gets replaced. E.g.: Replace message arguments .
        It's also possible to remove messages via returning false.
        Specified by:
        process in interface MessageMappingCallbackProcessor
        Parameters:
        message - Back end message to evaluate
        Returns:
        Do we want to keep the message?
      • getId

        public java.lang.String getId()
        Description copied from interface: MessageMappingCallbackProcessor
        Should return the id of the message mapping callback processor. Returned string must be equals to the callbackId specified in a message rule (messages.xml) in order to get called
        Specified by:
        getId in interface MessageMappingCallbackProcessor
        Returns:
        ID of callback