[jboss-user] [JBoss Messaging Users] - Re: Durable subscriptions management via JMX console

jeffleboss do-not-reply at jboss.com
Thu Dec 10 10:02:22 EST 2009


For the benefice of "enriqueam".

My WorkAround is to create an MBean in the server that just do an unsuscribe on the subscription without consuming the messages.

This removes the durable subscription and all of its messages.

For this to work you have to make sure that your remoting  bisocket config is changed from the default factory setting so that when the client goes down the server after some time will discard its connection. This allows the MBean to "steal" the durable subscription and to the unsubscribe. Otherwise, you would recive the error 

Cannot create a subscriber on the durable subscription since it already has subscriber(s)

But the way the upgrade is on the radar, but I have to deal with an operational system.

Hope this helps.

Jeff  


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270017#4270017

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270017



More information about the jboss-user mailing list