Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1626

ClientReconnectInterceptor doesn't work

XMLWordPrintable

    • 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?

              adrian.brock Adrian Brock (Inactive)
              jens.schanz Jens.Schanz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: