The only way i've discovered to remove "zombie" durable subscribers (they were once subscribed,
but will never reconnect again) is to delete the data-store directory. Harsh, and probably
not a good idea in a production environment unless you can guarantee there are no in-flight
persistent messages when you take ActiveMQ down.
Joe Niski
IS Development | NWEA
PHONE 503.212.3382 | FAX 503.639.7873
NWEA.ORG<3D%22http://www.nwea.org/%22> | Partnering to Help All Kids Learn
On 10/21/2010 08:55 AM, James Green wrote:
Hi,
Due to a bug my side I've managed to create over 1,000 durable topic
subscribers each with differing client-ids. Yep, that equals quite a
mess.
Somehow I need to unsubscribe these guys. Each was created by the same
PHP script being invoked repeatedly overnight.
I have created a script that identifies itself as a subscribed
client-id, subscribes to the topic and immediately unsubscribes from
it, however the web interface still shows a subscription for it. The
"Delete" button also merely reloads the page which seems like quite a
bug too...
I have stomp-level logging switched on and clearly see the client
connecting with the correct ID, and the unsubscribe command for the
right topic coming in. There's no response to this however, should
there be?
Can anyone advise on what I need to do? AMQ 5.4.0 in use on this
particular instance...
Thanks,
James
|