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 BA00C10522 for ; Mon, 5 Aug 2013 05:41:07 +0000 (UTC) Received: (qmail 3166 invoked by uid 500); 5 Aug 2013 05:41:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 3137 invoked by uid 500); 5 Aug 2013 05:41:05 -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 3129 invoked by uid 99); 5 Aug 2013 05:41:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 05:41:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.212.182] (HELO mail-wi0-f182.google.com) (209.85.212.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 05:40:59 +0000 Received: by mail-wi0-f182.google.com with SMTP id hi8so1090464wib.3 for ; Sun, 04 Aug 2013 22:40:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=s7Qv2z0G6pGQKxiW8+4I3pvqXQ6CgHSuBXIxnhjUXXI=; b=Mk4VI9jlnDMbP7me5RAOE25GbArtMOcUDxKQkgNtXWDDR/0UDjD7pZVvoG6w6phbDU uiaFULWaGMiqEUXMIWpUZQTPd/YQNH4P7XW8wj+c600yngmpS5K0JFunf7mZzNPgZIdN aHh64KG6FpO2i6AqWYbcfJ51UE7mvaJDrOJTSXBrYPqlk6330GnuxKLQMTjvZxsvUGg+ bH+EMmj478IYiUvvs/4wgzDMgxnzws9FzFfOtoNSpavppP/x2aMlhpLGS+Po1NA+f8Qx tnn9zMWUAF2gZxXwl9mKZFMa8niTiU4ZhVdFVGPX8lpcC9Zxe6fD+GtvTZamBH1YfKBH pEIQ== MIME-Version: 1.0 X-Received: by 10.180.35.38 with SMTP id e6mr334382wij.28.1375681218594; Sun, 04 Aug 2013 22:40:18 -0700 (PDT) Received: by 10.216.57.9 with HTTP; Sun, 4 Aug 2013 22:40:18 -0700 (PDT) In-Reply-To: <1375680307.19498.YahooMailNeo@web160404.mail.bf1.yahoo.com> References: <1375680307.19498.YahooMailNeo@web160404.mail.bf1.yahoo.com> Date: Mon, 5 Aug 2013 11:10:18 +0530 Message-ID: Subject: Re: Some issue with Apollo MQ ACK where message does not get deleted. From: Namrata Patel To: users@activemq.apache.org, Claudio Corsi Content-Type: multipart/alternative; boundary=e89a8f6427ce5bdeda04e32cbeb6 X-Gm-Message-State: ALoCoQlOw8eem8xCJ4bytWRql1jylUqN4uoH/SZdHAyy8eSGI+rONyXRjhvn1yJ0PJ3Qyf1HaBsiNdbyspoebLQADGloDRhUbtEV5UgkvAz80ZnYJe+qFkc= X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f6427ce5bdeda04e32cbeb6 Content-Type: text/plain; charset=US-ASCII Yes. I did send an ACK :-), but not from the same connection. I had to create a new connection and send ACK using message data read previously. FuseSource\Stomp\Frame Object ( [command] => ACK [headers] => Array ( [message-id] => mybroker-54c1 [id] => 2 [subscription] => testQ ) [body] => ) This is what the frame look like. I also verified that the message-id and id are correct. Thanks. On Mon, Aug 5, 2013 at 10:55 AM, Claudio Corsi wrote: > Did you ack that you received the message? > You've set your ack condition to be perform by the client which require > that you acknowledge that you've received the message. > > > > >________________________________ > > From: Namrata Patel > >To: users@activemq.apache.org > >Sent: Sunday, August 4, 2013 12:01 PM > >Subject: Some issue with Apollo MQ ACK where message does not get deleted. > > > > > > > >Hello, > >I am using Apollo 1.6 and stomp 1.2. I was trying to update the > FuseSource php stomp lib for 1.2, and am stuck with this scenario. > > > >1) Connect to Apollo > >2) Subscribe to "testQ" using ack=client-individual > >3) Read message $msg > >4) Disconnect > >//-- Some processing with this message, if processing was success > >5) Open a new connection to Apollo > >6) Subscribe to "testQ" using ack=client-individual > >7) ACK the $msg from above using just the "id", "message-id", "ack" > headers. > >(Attached stomp commands log) > >The result frame is correct, but the message won't get deleted from > Apollo. Is there something wrong with the way i am doing it? > >Do let me know if you require any additional info. > > > >Thanks. > >Namrata Patel > > > >Disclaimer: The information contained in this > electronic message and any attachments to this message are intended for the > exclusive use of the addressee(s) and may contain confidential or > privileged > information. If you are not the intended > recipient or have received this email in error you are notified that > disclosing, copying, distributing or taking any action in reliance on the > contents of this information is strictly prohibited. > > > > -- *Namrata Patel** *| Software Engineer Synergy Technology Services t+91-22-407-51999 | f +91-22-2925-1003 | m +91-9967585155 *namrata.patel@synergytechservices.com*| www.synergytechservices.com 701 Acropolis, Military Road, Marol, Andheri (East), Mumbai - 400 059 -- *Disclaimer: The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient or have received this email in error you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.* --e89a8f6427ce5bdeda04e32cbeb6--