Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 42592 invoked from network); 26 Feb 2007 10:56:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2007 10:56:48 -0000 Received: (qmail 7855 invoked by uid 500); 26 Feb 2007 10:56:55 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 7831 invoked by uid 500); 26 Feb 2007 10:56:55 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 7822 invoked by uid 99); 26 Feb 2007 10:56:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2007 02:56:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.92.168 as permitted sender) Received: from [66.249.92.168] (HELO ug-out-1314.google.com) (66.249.92.168) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2007 02:56:44 -0800 Received: by ug-out-1314.google.com with SMTP id m3so740891ugc for ; Mon, 26 Feb 2007 02:56:22 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ifqlcHubvBHdxz6xS1Lwe3jsek0Bc3R2sOWQwekr60iAq0nGLvCvYRsEMUd3ytsjaRcoOb4YNqUzK9bZF3TxRVBzyi0f7RwB74kFjsMaWULhYsU8ItUAdxdVO0dMjhame2ptbJDzT3vR0NFjTGU1E/uFpVwFALKGPvcrNJueS88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mqd2N5dGYj1NESZGFHP0nTFqZ3nL76/+ebfiUvHKyXxRRHibhqIvhkhtj49ikR+MW0MFhsUc9UuF67qZURWKjEQ6s/Bk1QNLUf4UN1oxVpsGvL5LUhvcCGlJ1ai2/5R5SsBPJsazsQf2nRGy/K1OSltv+TQlWLoCuoxcWkX4RVU= Received: by 10.78.178.5 with SMTP id a5mr433405huf.1172487382208; Mon, 26 Feb 2007 02:56:22 -0800 (PST) Received: by 10.78.155.7 with HTTP; Mon, 26 Feb 2007 02:56:22 -0800 (PST) Message-ID: Date: Mon, 26 Feb 2007 10:56:22 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: Running ruby example multiple times In-Reply-To: <9135683.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9135683.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 2/24/07, Chris T. wrote: > > Hi all > > To successfully run the ruby examples > (apache-activemq-4.1.0-incubator/example/ruby/*) multiple times, you have - > at least - to append the following line to publisher.rb > > @conn.disconnect Thanks for that! I've patched the examples FWIW 4.2-SNAPSHOT can deal properly with STOMP clients which just terminate without explicitly disconnecting (there was a bug in ActiveMQ not dealing with that). -- James ------- http://radio.weblogs.com/0112098/