Hi, You can use one of the sendCommand method exposed through the TwillController interface ( http://twill.apache.org/apidocs-0.8.0/org/apache/twill/api/ServiceController.html#sendCommand(org.apache.twill.api.Command) to send command to runnables. Each TwillRunnable class can overrides the handleCommand method ( http://twill.apache.org/apidocs-0.8.0/org/apache/twill/api/TwillRunnable.html#handleCommand(org.apache.twill.api.Command)) to process the command.
Terence On Sat, Nov 26, 2016 at 7:30 AM, darshan adiga <adigadars...@gmail.com> wrote: > Hey everyone, > > I couldn't find out how to send messages to running containers(Runnables) > and receive messages from running containers(Runnables). I couldn't find > any examples online. > > Thanks > -- > Regards, > Darshan Adiga H N >