Re: removing queue message store when removing non temporary queue

2009-04-21 Thread Andreas Gies
Thanks... I am using an anonymous connection myself as I am not a committer. I have noticed some errors when importing the trunk into my workbench, but I have never been asked for a username/password. This having said, the best import result I do get using the m2eclipse plugin and import

Re: removing queue message store when removing non temporary queue

2009-04-21 Thread ffrenchm
No problem for raising JIRA and contribute ... moreover because after some tests my deleted queue appears again after each activemq 5.3snapshot restart, so I'll show you a solution (which's certainly not perfect) through a JIRA :) Another question : I get the activemq trunk and when importing the

Re: removing queue message store when removing non temporary queue

2009-04-21 Thread Andreas Gies
Hi, ok, that explains it; I have just done a quick check against the trunk. AFAIK, corrections are usually contributed to the trunk. The best way to contribute is 1) raise a JIRA 2) provide a test case demonstrating the error / missing feature 3) attach a patch to the issue with the fix

Re: removing queue message store when removing non temporary queue

2009-04-21 Thread ffrenchm
Hello, I've checkout the source from 5.2.0 tag : http://svn.apache.org/repos/asf/activemq/tags/activemq-5.2.0/ With this tags there is no PersistenceAdapter.removeQueueMessageStore(ActiveMQQueue destination) and PersistenceAdapter.removeTopicMessageStore(ActiveMQTopic destination). That's why I d

Re: removing queue message store when removing non temporary queue

2009-04-21 Thread Andreas Gies
Hi there, The PersistenceAdapter interface specifies methods /** * Cleanup method to remove any state associated with the given destination. * This method does not stop the message store (it might not be cached). * @param destination Destination to forget */ void

Re: removing queue message store when removing non temporary queue

2009-04-20 Thread ffrenchm
Is this a bug or a misunderstanding ? Do I need to raise a JIRA ? Thanks ffrenchm wrote: > > Hello, > > I'm trying to implement a method to remove queue which will check if the > queue has message on it : > if yes I throw an exception > else I remove the queue thanks BrokerService.removeDesti