[
https://issues.apache.org/jira/browse/TWILL-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13943461#comment-13943461
]
Andreas Neumann commented on TWILL-60:
--------------------------------------
I assume all you would want to do here is send occasional notifications, or are
you looking for a high-throughput messaging channel?
There is already a way to send commands from a client through the controller,
and the runnable has a method handleCommand(). So I think this is possible
today by starting a client within another app to send a command to service1.
> Easy two way communication among twill applications
> ---------------------------------------------------
>
> Key: TWILL-60
> URL: https://issues.apache.org/jira/browse/TWILL-60
> Project: Apache Twill
> Issue Type: New Feature
> Reporter: Safder Raza
> Priority: Minor
>
> Thanks Terence for making applications be able to discover each other.
> Another Feature could be an up api update that can be used to send and
> receive messages among applications.
> something like
> context.send("service1", command) // all services with service1 name receive
> this command
> and an
> onReceive(String from, Command command) in TwillRunnable?
> This would be helpful in coordinating several applications on the cluster
--
This message was sent by Atlassian JIRA
(v6.2#6252)