[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Management removing all messages on shutdown
clebert.suconic@jboss.com
do-not-reply at jboss.com
Fri Aug 15 12:56:25 EDT 2008
My suggestion was a simple change on the shutdown hook:
| public void shutDown()
| {
| log.info("Shutting down");
| ListIterator<KernelDeployment> iterator = deployments.listIterator(deployments.size());
| while (iterator.hasPrevious())
| {
| KernelDeployment deployment = (KernelDeployment) iterator.previous();
| someHowInvokeStop(deployment);
| }
| }
|
And besides that, we should also change the method stop on JMSServerDeployer, as that is calling undeploy.
I just don't want to take the risk of messages hanging on the journal when you don't have a queue any more.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170821#4170821
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170821
More information about the jboss-dev-forums
mailing list