Announcement Announcement Module
Collapse
No announcement yet.
Samples question Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Samples question

    Hi,

    In HelloWorldDemo sample, is there a way to send a message by simply calling HelloService.sayHello(String name) method?

    Thanks

  • #2
    You can create an arbitrary class with method that wraps the code that deals with details of posting a message to a channel, which is exactly what is in main(..) method of HelloWorldDemo.

    You might want to elaborate more on what exactly you are trying to do.

    Comment


    • #3
      I understand that. What I meant is kind of a mapping that triggers sending message on the sayHello(..) method call.

      Thanks

      Comment

      Working...
      X