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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...