Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-407

Reconnect not working reliable for connections with more than 1 producer JMS session

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.35.0
    • Fix Version/s: 0.36.0
    • Component/s: qpid-jms-client
    • Labels:
      None

      Description

      When a JMS connection with more than one producer session looses the underlying TCP connection to the broker auto reconnect (failover) is not working properly. After the reconnect attempt no new messages will be sent.

      When only one producer session is used, reconnect apparently works as expected.

      I attached a maven project with a test case where the TCP connection is dropped by the broker to provoke the reconnect attempt. In most cases when I run the test class the testAutoReconnectWith2ProducerSessions() stops sending messages after the first reconnect attempt. Maybe there occurs some qpid internal race condition.

        Attachments

        1. QPIDJMS-407.zip
          4 kB
          Johan Stenberg

          Activity

            People

            • Assignee:
              tabish121 Timothy Bish
              Reporter:
              johan1 Johan Stenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: