[
http://jira.jboss.com/jira/browse/JBMESSAGING-595?page=all ]
Tim Fox closed JBMESSAGING-595.
-------------------------------
Resolution: Done
Rebind of clustered durable subscription fails
----------------------------------------------
Key: JBMESSAGING-595
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-595
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.2.0.Alpha1
Reporter: Tim Fox
Assigned To: Tim Fox
Fix For: 1.2.0.Alpha2
Creating a durable subscription on a clustered topic, then unsubscribing then subscribing
again with the same subscription name fails with:
17:59:46,875 ERROR [DefaultClusteredPostOffice] Caught Exception in RequestHandler
java.lang.IllegalArgumentException: 0 Binding already exists for node Id 1 queue name
id1.sub1
at
org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice.addBindingFromCluster(DefaultC
at
org.jboss.messaging.core.plugin.postoffice.cluster.BindRequest.execute(BindRequest.java:55)
at
org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice$PostOfficeRequestHandler.handl
va:1618)
at org.jgroups.blocks.MessageDispatcher.handle(MessageDispatcher.java:588)
at
org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:597)
at org.jgroups.blocks.RequestCorrelator.access$100(RequestCorrelator.java:38)
at org.jgroups.blocks.RequestCorrelator$Request.run(RequestCorrelator.java:886)
at org.jgroups.util.ReusableThread.run(ReusableThread.java:220)
at java.lang.Thread.run(Thread.java:534)
This is because when it is unsubscribed, the unbind is only done locally.
We need to make sure a clustered unbind is issued if the sub is clustered.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira