PDA

View Full Version : Samples question



sintuser
Apr 29th, 2008, 04:04 PM
Hi,

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

Thanks

oleg.zhurakousky
Apr 29th, 2008, 05:51 PM
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.

sintuser
Apr 30th, 2008, 09:23 AM
I understand that. What I meant is kind of a mapping that triggers sending message on the sayHello(..) method call.

Thanks