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

2009-12-10 Thread jeffleboss

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=bbop=viewtopicp=4270017#4270017

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270017
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-12-09 Thread jeffleboss

I have the same requirement.

The problem is that I cannot upgrade to HornetQ, since we are using JBoss 5.1.0.

I have a solution where we delete the subscription from the persistence 
database which works partially because, the server does not refresh its memory 
and does not see that its has been deleted. We must, restart the server so this 
works.

Would there be a way to delete the durable subscription from the database and 
trigger the messaging engine to refresh its state without restarting the server?

Jeff

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4269823#4269823

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-12-09 Thread timfox
jeffleboss wrote : 
  | I have the same requirement.
  | 
  | The problem is that I cannot upgrade to HornetQ, since we are using JBoss 
5.1.0.
  | 

HornetQ works with both JBoss 4 and JBoss 5 (see quickstart guide)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4269830#4269830

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269830
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-12-09 Thread jeffleboss
Thanks for the info.

In our setup, we have a JBoss 5.1.0 MDB client and the JBoss 5.1.0 which has 
the topic.

If we decide to upgrade our server JMS solution with HornetQ, will this require 
that JBoss client on which the MDB lives be upgraded as well ? 

In theory, if we are implementing the same JMS spec, the answer is no but we 
had many problems configuring the JMS messaging/remoting in 5.1.0 that I am not 
to hot about this upgrade. 

From what I have seen in the code, a lot of things hav changed since messaging 
1.4 (in remoting and messaging).

Jeff

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4269845#4269845

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-12-09 Thread gaohoward
I think you do need to upgrade. HornetQ has a pluggable transport layer and 
doesn't require remoting. Currently it comes with netty as its transport.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4269908#4269908

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269908
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-12-04 Thread gaohoward
No, I don't think JBM support this.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268976#4268976

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-12-04 Thread enriqueam
Shame :-(

Thanks for the quick reply.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268982#4268982

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268982
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-12-04 Thread timfox
HornetQ does support it

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268986#4268986

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268986
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user