I am doing load testing to upload certain files .So when i stoped the server i will clear all the uploaded files from server location,and on restart the MDB is looking for the files which are deleted from server location , and throwing exepection file not found.
So i need to stop MDB to Collect JMS messages once server stops.