Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2394

AMQ-RA server sessions are never returned to the pool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • JBoss AMQ 6.3 R17
    • JBoss AMQ 6.3 R15, JBoss AMQ 6.3 R9, JBoss AMQ 6.3 R16, JBoss AMQ 6.3 R17, Jboss AMQ 6.3 R13
    • None

       
      When a new session is to be returned to the pool, the isStale check returns true even for healthy sessions so, they are always closed instead of being added to the idleSessions list.
       
       

      protected boolean isStale() {
               return stale || !session.isRunning() || !session.isClosed();
          }

       
      https://github.com/apache/activemq/blob/master/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java#L107-L109

            gtully@redhat.com Gary Tully
            rhn-support-adongre Avinash Dongre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: