Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 34952 invoked from network); 13 Mar 2007 17:56:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2007 17:56:56 -0000 Received: (qmail 13920 invoked by uid 500); 13 Mar 2007 17:57:04 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 13902 invoked by uid 500); 13 Mar 2007 17:57:04 -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 13886 invoked by uid 99); 13 Mar 2007 17:57:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 10:57:04 -0700 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; Tue, 13 Mar 2007 10:56:55 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 216E5714076 for ; Tue, 13 Mar 2007 10:56:35 -0700 (PDT) Message-ID: <15826480.1173808595133.JavaMail.jira@brutus> Date: Tue, 13 Mar 2007 10:56:35 -0700 (PDT) From: "Teemu Torma (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-87) ActiveMQConnectionFactory creates only one unique clientId In-Reply-To: <5635968.1173805954453.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-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38812 ] Teemu Torma commented on AMQCPP-87: ----------------------------------- UUID generation might be slow, that is why counter. I don't really care which way though. I disagree the new UUID would be more unique than counter approach. The UUID is already unique for the factory, and adding something to it does not make it less unique. > ActiveMQConnectionFactory creates only one unique clientId > ---------------------------------------------------------- > > Key: AMQCPP-87 > URL: https://issues.apache.org/activemq/browse/AMQCPP-87 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: Openwire > Affects Versions: 2.0 > Reporter: Teemu Torma > Assigned To: Nathan Mittler > Attachments: connection-factory.patch > > > ActiveMQConnectionFactory creates only one unique clientId. This prevents creating multiple connections using the same factory. > The attached patch creates uuid once, and adds a counter to it if needed. It is just a proposal, and I have only very quickly tested it on linux/gcc 4.1. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.