Class LoadMessageFunction

java.lang.Object
org.citrusframework.functions.core.LoadMessageFunction
All Implemented Interfaces:
org.citrusframework.functions.Function, org.citrusframework.functions.ParameterizedFunction<StringParameter>, StringFunction

public class LoadMessageFunction extends Object implements StringFunction
Function loads message from test context message store. Incoming and sent messages get automatically stored to the message store. Messages are identified by their name.
Since:
2.6.2
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.citrusframework.functions.ParameterizedFunction

    org.citrusframework.functions.ParameterizedFunction.FunctionParameters
  • Field Summary

    Fields inherited from interface org.citrusframework.functions.Function

    functions, logger, RESOURCE_PATH
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(String messageName, org.citrusframework.context.TestContext context)
    Execute function with the single String parameter.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.citrusframework.functions.ParameterizedFunction

    execute

    Methods inherited from interface org.citrusframework.functions.StringFunction

    execute, getParameters
  • Constructor Details

    • LoadMessageFunction

      public LoadMessageFunction()
  • Method Details

    • execute

      public String execute(String messageName, org.citrusframework.context.TestContext context)
      Description copied from interface: StringFunction
      Execute function with the single String parameter.
      Specified by:
      execute in interface StringFunction