[jboss-user] [JBoss Messaging] - How to undeploy queue for it not to leave a row in JBM_POSTO
mvecera@redhat.com
do-not-reply at jboss.com
Tue Jun 17 04:39:01 EDT 2008
Recently I met http://jira.jboss.org/jira/browse/JBMESSAGING-1235 - it is not possible to deploy a queue, undeploy it and deploy it with different clustered attribute. The workaround says "remove the row from JBM_POSTOFFICE table".
Why is not the row deleted automatically on undeploy?
As I can see in org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.internalRemoveBinding(...)
around line 1916:
if (queue.isRecoverable()) {
| //Need to remove from db too
| deleteBindingFromStorage(queue);
| }
|
the line should be deleted if isRecoverable() returns true. Then it should be possible to deploy a queue with the same name and different value of clustered attribute, correct? Under what conditions is the queue recoverable?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158622#4158622
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158622
More information about the jboss-user
mailing list