You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2015/06/11 14:04:00 UTC

[jira] [Created] (QPID-6583) [Java Client] AMQSession_0_10 should use connection task pool rather than a Timer

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org