...
Kurator-Akka includes a StringAppender
actor that adds a configurable suffix to each string it receives and outputs the modified strings. Add a new component to your workflow file (it may be easiest to copy and paste the GreetingSource
component). It doesn't matter where you add the component, as long as it is somewhere in the components section of the file. Give the new component an id
of GreetingEmphasizer
and a type
of StringAppender
. StringAppender
actors take a parameter called suffix
. Edit your GreetingEmphasizer
component to make a single exclamation point the default suffix (enclose the exclamation point in single quotes). Finally, add a listensTo
property to GreetingPrinter
and configure the component to receive its input from GreetingSource
.
...