Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 70214 invoked from network); 14 Sep 2010 15:17:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Sep 2010 15:17:15 -0000 Received: (qmail 54334 invoked by uid 500); 14 Sep 2010 15:17:15 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 54081 invoked by uid 500); 14 Sep 2010 15:17:12 -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 54073 invoked by uid 99); 14 Sep 2010 15:17:11 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 15:17:11 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.mk.green@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 15:16:48 +0000 Received: by vws8 with SMTP id 8so8826012vws.2 for ; Tue, 14 Sep 2010 08:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=K5F71ZE8MMEwmwLIg4JQv2q3DnoCWZ1ycdr589kfJ3M=; b=GBLiR+g8ATO60dre4EY33mGn1Px3oIzZuPrOynHZKqBfjb/h6x2z9mwogQAW8OU8bC e0eEQpVm2UfVjOv3y04MCIQfRjPD26PfDCqkpQAHpDpM9yaOEB/4ZGq4L9rXuL8+JhTx dIKCyPW7tPAQ0KPWDqDb8T2BL1pGaK7JvDrcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=T3w498Lv7cC+/1SZMrBXlpGk/X5wuOEuDTrls5Jc0Kja+VlVlqnUr5WlCm8FprDsSY gYe4exAMbgKIa7+Ow8OmscizU7Tm8kMGYQbiVJcEiAxZr4z6x4021zyv6bV/nVvSU3WU eV7P2UoK/0v/KIq+I216udR30CVDVpxa1rKAs= MIME-Version: 1.0 Received: by 10.220.122.96 with SMTP id k32mr27591vcr.96.1284477387864; Tue, 14 Sep 2010 08:16:27 -0700 (PDT) Received: by 10.220.175.201 with HTTP; Tue, 14 Sep 2010 08:16:27 -0700 (PDT) Date: Tue, 14 Sep 2010 16:16:27 +0100 Message-ID: Subject: FIFO order - just not quite From: James Green To: users Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I've been trying to debug an odd sequence problem. I've written a basic test case in PHP using the stomp connector. First script adds ten numbered messages (indexed from 0) to a test queue. Second script receives from the queue and spits them out. They arrive in the order: 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 I was expecting: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Any ideas why it seems to be FIFO - except the first message which comes out last? For my app it is critical to receive the messages in the correct (as they are produced) order. My config is pretty close to the shipped example. ActiveMQ 5.4.0. James