I'm trying to read messages from a queue channel inside a service-activator. I know how to read these messages in the main thread (i.e. where the applicationContext is initialized), where I could just get the instance of the channel and then call the receive method. The problem is that inside the service activator I don't have access to the applicationContext...
Can someone halp me solve this problem?
Thanks a lot.


Reply With Quote