Reputation: 123
Does spring jms message listener gets initialised and picks the message from queue while my ear is getting up and the we application is still in the process of getting up on websphere. As we are using spring beans, so can it be possible that ear is still getting up but jms-message listener has picked up the message from queue. Or Till the ear will not get up and running until then the message would not be picked up from queue.
Thanks Ram
Upvotes: 0
Views: 42
Reputation: 494
I have used Spring batch and Spring integration in a single project . We have used tomcat for deployment and gradle as a build tool .
JmsListeners will get initialized only when the war is fully deployed , up and running , till then no JMS messages will be picked up by the JMSListener .
You don't have to worry about loosing messages when the listeners is still in the process of initialisation .
Upvotes: 2