-
Bug
-
Resolution: Done
-
Minor
-
JBossAS-4.0.1 SP1
-
None
-
Compatibility/Configuration
File: jbossmq-service.xml
<!--
The ClientReconnectInterceptor is used to allow a client to connect to the server even |
if it's clientID is allready being used by another client. This interceptor will disconnect |
the previously connected client to allow the new connection to succeed. This is not enabled |
by default since the JMS spec states that the 2nd client connecting to the server with the same |
id should get an exception. --> |
<mbean code="org.jboss.mq.server.jmx.InterceptorLoader" name="jboss.mq:service=ClientReconnectInterceptor">
<attribute name="InterceptorClass">org.jboss.mq.server.ClientReconnectInterceptor</attribute>
<depends optional-attribute-name="NextInterceptor">jboss.mq:service=DestinationManager</depends>
</mbean>
I have uncommented this feature, because our application has a bug with unregistering and disconnecting. Until this bug is solved I want to enable this feature in JBoss, but it doesn't work. I allready get the message "reconnect failed : javax.jms.InvalidClientIDException: This client id 'system1' is already registered!".
Maybee it's a bug. Could someone please check this?