Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 549 invoked from network); 31 Jan 2007 14:46:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2007 14:46:24 -0000 Received: (qmail 25346 invoked by uid 500); 31 Jan 2007 14:46:30 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 25325 invoked by uid 500); 31 Jan 2007 14:46:30 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 25315 invoked by uid 99); 31 Jan 2007 14:46:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 06:46:30 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 06:46:23 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CC9177142D0 for ; Wed, 31 Jan 2007 06:46:02 -0800 (PST) Message-ID: <30890963.1170254762819.JavaMail.jira@brutus> Date: Wed, 31 Jan 2007 06:46:02 -0800 (PST) From: "Timothy Bish (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Created: (AMQCPP-66) Refactor the Async send to happen in an Async Transport instead of in ActiveMQSession MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Refactor the Async send to happen in an Async Transport instead of in ActiveMQSession ------------------------------------------------------------------------------------- Key: AMQCPP-66 URL: https://issues.apache.org/activemq/browse/AMQCPP-66 Project: ActiveMQ C++ Client Issue Type: Improvement Affects Versions: 1.1, 2.0 Reporter: Timothy Bish Assigned To: Timothy Bish Priority: Minor Fix For: 2.1 We should re-factor the code that implements the Async Send feature to use an TransportFilter dervied class that handles the async send stuff. This would reduce the overhead as right now, each session creates a thread for sends, where this class would only need one thread and everyone would just make use of it. We need this issue to get done first I think so that we can cleanly implement this. https://issues.apache.org/activemq/browse/AMQCPP-65 One other thing we might want to think about here is the lifetime of objects that are sent when in async mode. Currently all messages are cloned and deleted by the session. We may want to think about changing the CMS API to require that objects are owned by us once you pass them to a send call. Then we can control the lifetime and delete it when we are done with it without having to clone the message. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.