Hi,
In HelloWorldDemo sample, is there a way to send a message by simply calling HelloService.sayHello(String name) method?
Thanks
Hi,
In HelloWorldDemo sample, is there a way to send a message by simply calling HelloService.sayHello(String name) method?
Thanks
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.
Oleg Zhurakousky
Spring Integration team
http://twitter.com/z_oleg
http://blog.springsource.com/author/ozhurakousky/
I understand that. What I meant is kind of a mapping that triggers sending message on the sayHello(..) method call.
Thanks