Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44D50FF2C for ; Fri, 29 Mar 2013 14:32:58 +0000 (UTC) Received: (qmail 74356 invoked by uid 500); 29 Mar 2013 14:32:57 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74084 invoked by uid 500); 29 Mar 2013 14:32:53 -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 74040 invoked by uid 99); 29 Mar 2013 14:32:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 14:32:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 14:32:47 +0000 Received: by mail-lb0-f181.google.com with SMTP id r11so361415lbv.26 for ; Fri, 29 Mar 2013 07:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=VPFEmzW46l+bANziFwxvTQ+pHO/KyOvq8d3fEJCFfAY=; b=JL6If29RlPHf6fj8qsAv6qWaKbCZrutd3Jy8hYibqsPfdL5m8W1RTN+s0RPRYgpD3Q 5wSQGpEML+eOaO2Cfe8tb3PFEKOgKyrfvzprFIxUJHaj3OfiCzsIxzZzOLt6I0TTrQdL MIgAh+LJv4hhOowCUz5PejfQ13fw0wyyZnxX8759iXTiCjrROKs0UoKVmKFypMTon9My aF3Z/XuhlA/7lTb2+njb+VY+KlCbiGScoYW4HKNIR9J4ro9CP+ox32YCfGEHR3D2OVCR sghVFfi2YElS0cqGqt4EzqExqhE2EeSSMhUVqUqECmxESobpzqoE1cZMrFxUEZ4dFL8k XMRQ== MIME-Version: 1.0 X-Received: by 10.112.154.193 with SMTP id vq1mr1478868lbb.94.1364567545899; Fri, 29 Mar 2013 07:32:25 -0700 (PDT) Received: by 10.114.38.66 with HTTP; Fri, 29 Mar 2013 07:32:25 -0700 (PDT) Date: Fri, 29 Mar 2013 07:32:25 -0700 Message-ID: Subject: JMS client automatically reorders prefetched messages by default From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=089e011607cad8701f04d9112311 X-Virus-Checked: Checked by ClamAV on apache.org --089e011607cad8701f04d9112311 Content-Type: text/plain; charset=ISO-8859-1 Seems like it might be an unintended ordering consequence? or is it covered by the JMS spec? I suspect the latter, but wanted to discuss anyway... Per this JIRA, https://issues.apache.org/jira/browse/AMQ-2790 client-side priority support was created, but also made default. So in this case, a producer sending messages with priority values set on the messages would be reordered in the consumer according to priority regardless of whether priority is enabled on the broker side. However, the JMS spec says this about priority: "JMS does not require that a provider strictly implement priority ordering of messages; however, it should do its best to deliver expedited messages ahead of normal messages." -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --089e011607cad8701f04d9112311--