Hello,
I have defined a DefaultJMSContainer in my applicationContext.xml. In this configuration I have set up 20 listeners on the queue. However, during the hours of 01:00 AM and 05:00 am I do not want to read any messages from the queue.
Is it possible to "halt" or "pause" the listeners, or alternatively deregister listeners at 01:00 AM, and then fire them up again at 05:00 AM ?
The application has a RMI interface as well, so I can trigger work to be done from the outside (via Cron or other scheduling software).
is it enought to call springJmsContainer.stop() at 01:00 AM and then springJmsContainer.start() again at 05:00 AM ?
Very Best Regards,
Joachim Haagen Skeie


Reply With Quote
