I am using a ActiveMQQueue and I have a class that processes the messages. Everytime the onMessage is called, and my finder executes findAreaByName, i get "Session is closed!"
I tried to make IncomingMessageHandler FactoryBeanAware and get finder at runtime but it didn't work. I tried to make finder of prototype scope, but that didn't help. Any ideas on what could be the problem?
is it because I am using DefaultMessageListenerContainer?