Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6117

connection.close() method should not depend on MaxRetry attribute when trying to read messages from a node which is disconnected from DB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 4.3.0.GA_CP08
    • Messaging
    • None
    • Not Yet Documented

    Description

      Hi Howard,
      there is a problem with MaxRetry attribute. When it's set to -1 then consumer won't close when server is disconnected from DB. Client should get an exception and be reconnected to another node if he's using "ClusteredConnectionFactory". In this case it would broke HA.

      This problem occured when testing patch from JBPAPP-5841 and fixed in JBPAPP-6058.

      Thanks,

      Mirek

      Attachments

        1. Consumer.java
          3 kB
        2. Producer.java
          3 kB
        3. server_profile_logs.zip
          156 kB

        Issue Links

          Activity

            People

              gaohoward Howard Gao
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: