Class EchoMacro

  • All Implemented Interfaces:
    LogEnabled, Macro

    @Component(role=Macro.class,
               hint="echo")
    public class EchoMacro
    extends AbstractMacro
    A simple macro that prints out the key and value of some supplied parameters.
    Version:
    $Id$
    • Constructor Detail

      • EchoMacro

        public EchoMacro()
    • Method Detail

      • execute

        public void execute​(Sink sink,
                            MacroRequest request)
        Execute the current macro using the given MacroRequest, and emit events into the given sink.
        Parameters:
        sink - The sink to receive the events.
        request - The corresponding MacroRequest.