Thursday, March 28, 2013

Registering a POJO as a Spring Bean

It's indeed part of the Dynamic Service Activator.  In it, we need to programmatically create a channel and register that to Spring application context so the router can route to that channel (it will look up the name of the channel from the application context.)  It's surprising easy to do that, a one liner!