Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 4708 invoked from network); 5 Oct 2006 10:14:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 10:14:15 -0000 Received: (qmail 61896 invoked by uid 500); 5 Oct 2006 10:14:13 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 61875 invoked by uid 500); 5 Oct 2006 10:14:13 -0000 Mailing-List: contact activemq-commits-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-commits@geronimo.apache.org Received: (qmail 61769 invoked by uid 99); 5 Oct 2006 10:14:13 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 03:14:13 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=5.0 tests=ALL_TRUSTED,NO_REAL_NAME Received: from [140.211.166.113] ([140.211.166.113:53435] helo=eris.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 3D/A2-20288-AEAD4254 for ; Thu, 05 Oct 2006 03:14:07 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id A42311A9822; Thu, 5 Oct 2006 03:13:24 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r453176 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQTempDestination.java Date: Thu, 05 Oct 2006 10:13:24 -0000 To: activemq-commits@geronimo.apache.org From: rajdavies@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061005101324.A42311A9822@eris.apache.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rajdavies Date: Thu Oct 5 03:13:23 2006 New Revision: 453176 URL: http://svn.apache.org/viewvc?view=rev&rev=453176 Log: trim the string used to get the sequence id Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQTempDestination.java Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQTempDestination.java URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQTempDestination.java?view=diff&rev=453176&r1=453175&r2=453176 ============================================================================== --- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQTempDestination.java (original) +++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQTempDestination.java Thu Oct 5 03:13:23 2006 @@ -63,7 +63,7 @@ if( !isComposite() ) { // Parse off the sequenceId off the end. int p = this.physicalName.lastIndexOf(":"); - sequenceId = Integer.parseInt(this.physicalName.substring(p+1)); + sequenceId = Integer.parseInt(this.physicalName.substring(p+1).trim()); // The rest should be the connection id. connectionId = this.physicalName.substring(0,p); }