Rob Godfrey created QPID-6583:
---------------------------------

             Summary: [Java Client] AMQSession_0_10 should use connection task 
pool rather than a Timer
                 Key: QPID-6583
                 URL: https://issues.apache.org/jira/browse/QPID-6583
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Rob Godfrey
            Assignee: Rob Godfrey
             Fix For: 6.0 [Java]


Currently the AMQSession_0_10 class uses a static time object to schedule ack 
flushing.  This leaves a thread running at all times even if all connections 
are closed.

In preference to this we can use the thread pool already associated with the 
connection to run the tasks currently run on the timer.

See [this 
mail|http://mail-archives.apache.org/mod_mbox/qpid-users/201506.mbox/%3CCAJ2jEUtdc8mUV45Rm6XoZpj_1ZPo3n1R7GG4X%3DQtiy%2BoRbSfWw%40mail.gmail.com%3E]
 for the issues that the current mechanism may cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to