Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 35619 invoked from network); 26 Feb 2008 15:23:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2008 15:23:19 -0000 Received: (qmail 52321 invoked by uid 500); 26 Feb 2008 15:23:13 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 52306 invoked by uid 500); 26 Feb 2008 15:23:13 -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 52297 invoked by uid 99); 26 Feb 2008 15:23:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 07:23:13 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of e.semog@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 15:22:40 +0000 Received: by ug-out-1314.google.com with SMTP id k3so1313716ugf.5 for ; Tue, 26 Feb 2008 07:22:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=nVpskFn7lcSFSE6JlCWNZfvpjLAZwrVZQ2/ZajeEMUQ=; b=Ht6g1Z3YlEpJoi7svXwrKgWLce+eNNr/b9QZT4TY7ZxKahNk6Us+Esdd5Rn3FRaDuvY5aEkRaM8F7P7k6lrnuVK7jfkIR4L7CDlyzLymTqrVkG1ymlkNkNqklwCEyFWivv24AHvYbDoZEdfu1gFE310+Rajumx8UkBDobJZowuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gZG7FOG/HqAm6UR3QeoTIgUpidMszz4jDmcRXs/8ZoVpR+D38scpznEVAVmkVT3+KGxqwp8pnfZEAlHVTqFOmUmnjSczcaQEGUuqjefIac01DZfOE7d8uJONqjsAnXMlQmWFqK1HMB4uKpIzGjjGUdIzFrHX/SeX4KLqLcbXXqc= Received: by 10.67.196.4 with SMTP id y4mr4957931ugp.39.1204039367910; Tue, 26 Feb 2008 07:22:47 -0800 (PST) Received: by 10.86.66.14 with HTTP; Tue, 26 Feb 2008 07:22:47 -0800 (PST) Message-ID: <5a56ce1b0802260722h660685d1r24aeef4f36e7dbcd@mail.gmail.com> Date: Tue, 26 Feb 2008 07:22:47 -0800 From: "Jim Gomes" To: users@activemq.apache.org Subject: Re: Ordering of persistent/non-persistent messages in ActiveMQ 5 In-Reply-To: <3D246B80-588E-4343-B827-C49713E76DFD@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18518_3740591.1204039367868" References: <44cb1ba30802252249t228ddeffpfdbecb31353d9959@mail.gmail.com> <3D246B80-588E-4343-B827-C49713E76DFD@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18518_3740591.1204039367868 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Rob, Is this the same thing as the Total Ordering feature (c.f., http://activemq.apache.org/total-ordering.html), or is it something different? While it may be expected behavior, it was a little surprising to read that was what would happen. Best, Jim On Tue, Feb 26, 2008 at 12:06 AM, Rob Davies wrote: > > On 26 Feb 2008, at 06:49, Roger Hoover wrote: > > > Using STOMP on AMQ 5, if I enqueue some persistent and non-persistent > > messages and then consume them, they don't get consumed in the order > > in > > which they were produced. The non-persistent messages are delivered > > first > > (with their relative order preserved) followed by the persistent > > messages > > (also with their relative order preserved). > > > > AMQ 4 preserved message order regardless of persistence settings. > > > > Is this expected behavior? Is it controlled by any configuration? > > > > Thanks, > > > > Roger > > This is expected behaviour - as persistent/non-persistent messages > have different qualities of service and take different paths through > the broker > > ------=_Part_18518_3740591.1204039367868--