I've submited a bug and a patch for this bug long time ago, but no responce from AMQ devs. Unsubscribe actually doesn't work neither on topics nor on queues due to this bug: http://issues.apache.org/activemq/browse/AMQ-1077
James.Strachan wrote: > > > So durable topics are a bit different to other kinds of subscriptions. > When you unsubscribe, it generally just means that you are not > currently able to process messages any more (e.g. when you are > shutting down or something). So unsubscribing does not delete the > subscription (since the whole point of durable topics is to keep a > copy of every message matching the subscription, while the client is > not running). > > So to stop collecting messages for durable subscriptions, you need to > delete the subscription via the MBeans - i.e. its an adminstrative > issue (rather than via stomp/jms). > > If you want to start/stop subscriptions within a client, then don't > use durable topics, use non-persistent subscriptions > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > -- View this message in context: http://www.nabble.com/Stomp-durable-topic-do-not-UNSUB-tf3042823.html#a8522510 Sent from the ActiveMQ - User mailing list archive at Nabble.com.