Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5D133200ABF for ; Tue, 3 May 2016 09:27:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5A0DA1609F3; Tue, 3 May 2016 09:27:03 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B0A961609F2 for ; Tue, 3 May 2016 09:27:02 +0200 (CEST) Received: (qmail 70505 invoked by uid 500); 3 May 2016 07:27:01 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 70492 invoked by uid 99); 3 May 2016 07:27:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2016 07:27:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 75A56C3231 for ; Tue, 3 May 2016 07:27:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.511 X-Spam-Level: ** X-Spam-Status: No, score=2.511 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9twMEvLDgXxi for ; Tue, 3 May 2016 07:26:58 +0000 (UTC) Received: from mail-vk0-f43.google.com (mail-vk0-f43.google.com [209.85.213.43]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 1047C5F23C for ; Tue, 3 May 2016 07:26:59 +0000 (UTC) Received: by mail-vk0-f43.google.com with SMTP id m188so13347883vka.1 for ; Tue, 03 May 2016 00:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=3A9XoENlxu+sS9UlGZO/WrgFU16dXhjqYqx8gv8j/b8=; b=m8hQrvAsDy1QjNXnK0gMdfpKf3UsKcmEcPbVlb1dtQDUpCd22vlRwBkKIx/wWvW3O9 +reI9NFOhSaiRTX+ZfyWpkGm2M3zslNFnVLTkkw2+R6xe9WwiVhA6/NhMXrFKxrfelyB /ES43A+LuWri5f7dJOIDKXYCDmbrejzSCtjAmzkDqD/JW0/5o2HODReTX8UXyKG2GNnZ P/1pEDm3e06hlodbXZT2vlAIHf4nr6w9vzfLKplfmG9kteqb3IEnUkuYLTxJZMB7c8CK KRurzPzjm5sQ9kn3rRHNLdzl5/FtouG8qoxBPHBRFtvYX3ewrnpQpiTSpX/oXk3e5i8s 30bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=3A9XoENlxu+sS9UlGZO/WrgFU16dXhjqYqx8gv8j/b8=; b=fVfajDWrd4tXn128RMRGTLUV3D5XFOaGJZ1uC6u8IqXxopteZm+DZ9zFdHhWLB/lpl 3ON8PuJzGxqBC/31waDWRMgrZhMIc7VGxDJE4G9tUk8Rbk84bwUtXMCNT3xQD+I5KN3d bGeZwUzV47d133eWhUhvKxocDY9pR543Xov6XE3W21aCuIcKHKrFvr7N++z6RHvqFui5 VAw1yJ9QzS2hT4YIiqZ4HmWSLnrY8dmrwEADDti4KreFH2DVg3vTSGDC/H9vMPg8bous wRs6tqrsDr2eTSpxj7drDgWtHj9BURjU9WPAUQ8ufpqf1s0w9vyasIgmj+8MxKAGfn2f WKag== X-Gm-Message-State: AOPr4FUFVHaRPJUEAiicKo6N+JHiMmU4GT/+f8dzwWc9zT+aHlRBHSLJShg1fdEH9u691jKAcEIVralECid0gw== MIME-Version: 1.0 X-Received: by 10.31.41.68 with SMTP id p65mr375451vkp.36.1462260418590; Tue, 03 May 2016 00:26:58 -0700 (PDT) Received: by 10.103.78.157 with HTTP; Tue, 3 May 2016 00:26:58 -0700 (PDT) Received: by 10.103.78.157 with HTTP; Tue, 3 May 2016 00:26:58 -0700 (PDT) In-Reply-To: References: <1462178721751-7642996.post@n2.nabble.com> <572722A1.2010709@redhat.com> <1462183426440-7642998.post@n2.nabble.com> <57275FBD.8000809@redhat.com> <1462259845547-7643131.post@n2.nabble.com> Date: Tue, 3 May 2016 09:26:58 +0200 Message-ID: Subject: Re: Filtering issues From: Rob Godfrey To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=001a113efde2d1bf9c0531eb0875 archived-at: Tue, 03 May 2016 07:27:03 -0000 --001a113efde2d1bf9c0531eb0875 Content-Type: text/plain; charset=UTF-8 If someone wants to point me at the doc for the C++ broker extensions to the selector syntax, I'll try to find some time to add support. Obviously we are still waiting on the official JMS over AMQP spec to define a complete filter syntax (hint: Robbie). -- Rob On 3 May 2016 9:17 a.m., "Vavricka" wrote: > > Gordon Sim wrote > > For the timestamp query, why are you dividing by 1000? The JMSTimestamp is > > in milliseconds. Is 'tomorrow' a Date object? > > Thanks for pointing this out, I used same code for testing qpid c++ broker. > Qpid c++ broker expects timestamp in seconds. > > When I removed division by 1000, code is working correctly now. > > > Gordon Sim wrote > > However AMQP 0-10 defines the message-id to be a uuid, JMS > > defines it to be a string. Is it possible there is some issue in the > > exact format being compared? > > You are also correct in this one. I used to retrieve messageID by 'String > messageID = msg.getJMSMessageID();' and returned string was in format > 'ID:UUID', but selector in consumer expects string without 'ID:' prefix. > When I removed the prefix code start to work as expected. > > > Gordon Sim wrote > > Ok, so I _believe_ the java broker does not support the AMQP style > > naming of properties for AMQP 1.0. You can use the JMS names however. > > Is planned support for AMQP naming style properties for AMQP 1.0? > > Thanks a lot for your help. > > Regards, > Vavricka > > > > -- > View this message in context: http://qpid.2158936.n2.nabble.com/Filtering-issues-tp7642996p7643131.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > --001a113efde2d1bf9c0531eb0875--