@Component(role=Macro.class, hint="echo") public class EchoMacro extends AbstractMacro
| Constructor and Description |
|---|
EchoMacro() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Sink sink,
MacroRequest request)
Execute the current macro using the given MacroRequest,
and emit events into the given sink.
|
enableLogging, getAttributesFromMap, getLog, requiredpublic void execute(Sink sink, MacroRequest request)
sink - The sink to receive the events.request - The corresponding MacroRequest.Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.