Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 77528 invoked from network); 15 Oct 2007 13:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 13:09:33 -0000 Received: (qmail 83396 invoked by uid 500); 15 Oct 2007 13:09:19 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 83358 invoked by uid 500); 15 Oct 2007 13:09:19 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 83325 invoked by uid 99); 15 Oct 2007 13:09:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 06:09:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 15 Oct 2007 13:09:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA580714201 for ; Mon, 15 Oct 2007 06:08:23 -0700 (PDT) Message-ID: <10464203.1192453703695.JavaMail.jira@brutus> Date: Mon, 15 Oct 2007 06:08:23 -0700 (PDT) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQCPP-146) Refactor sequence id generation in the connectors In-Reply-To: <31184472.1192453583863.JavaMail.jira@brutus> 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 [ https://issues.apache.org/activemq/browse/AMQCPP-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQCPP-146. --------------------------------- Resolution: Fixed Changes added to trunk. Tests all pass. > Refactor sequence id generation in the connectors > ------------------------------------------------- > > Key: AMQCPP-146 > URL: https://issues.apache.org/activemq/browse/AMQCPP-146 > Project: ActiveMQ C++ Client > Issue Type: Improvement > Components: Openwire, Stomp > Affects Versions: 2.1 > Reporter: Timothy Bish > Assignee: Timothy Bish > Priority: Minor > Fix For: 2.1.1 > > > Instead of having a methods in the connectors to create ids, create a class in activemq util called LongSequenceGenerator that will be used in the connectors to create the Ids. This class will be thread safe. > Refactor the connector code to use this generator class and remove all the getNextXXXId methods. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.