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 679BA18A8F for ; Fri, 12 Jun 2015 12:57:00 +0000 (UTC) Received: (qmail 760 invoked by uid 500); 12 Jun 2015 12:56:54 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 718 invoked by uid 500); 12 Jun 2015 12:56:54 -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 706 invoked by uid 99); 12 Jun 2015 12:56:54 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2015 12:56:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1A09DC0C6F for ; Fri, 12 Jun 2015 12:56:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.252 X-Spam-Level: *** X-Spam-Status: No, score=3.252 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id W_lMSW-57Gy1 for ; Fri, 12 Jun 2015 12:56:42 +0000 (UTC) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id A3981216F0 for ; Fri, 12 Jun 2015 12:56:42 +0000 (UTC) Received: by iebmu5 with SMTP id mu5so23929730ieb.1 for ; Fri, 12 Jun 2015 05:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=NUGwYxlhPZViBZk8IblvOT2sfAJ8mmM3xkPhsqW4LiM=; b=b39Cp+2OqKp0dlZ+jbudibeNVucYEOAQ8Xp1iAGAyX8qvdV1OGB1OZ2wOKjmvagg5L cdVaq43T3RitGxvLk+bTRyBSTUvT95qNyFsWnpKRYp80hB7X/I2MV1iW2bcWrk4W97ZX nFaPzT4/vIr4zz3Gdn6yZk1dl9BbBL2Krw8LnZ5gFpeg6+fnoeTwJyodT5YMFuJrFoiU OvWisoiFOYmwXOOKB4et/mZkzy5QENZYMB4a3ZvCuqr6vxAEAgXokcjfxoaJV9fc0rD4 N8foiIybzWS0ucygDSyG4lLzshgXxdHz3An5PcY+yDXyg16lLL/332lRFAm7eZzb5rOS g7ew== MIME-Version: 1.0 X-Received: by 10.43.163.129 with SMTP id mo1mr15802121icc.61.1434113802126; Fri, 12 Jun 2015 05:56:42 -0700 (PDT) Sender: tbain98@gmail.com Received: by 10.50.251.141 with HTTP; Fri, 12 Jun 2015 05:56:42 -0700 (PDT) Received: by 10.50.251.141 with HTTP; Fri, 12 Jun 2015 05:56:42 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Jun 2015 06:56:42 -0600 X-Google-Sender-Auth: PXy2AWQrIdj3CO6rM8JmVj-Mj94 Message-ID: Subject: Re: Allowing another consumer to have a message (ActiveMQ-CPP) From: Tim Bain To: ActiveMQ Users Content-Type: multipart/alternative; boundary=001a11c30b4ebe5110051851a3cc --001a11c30b4ebe5110051851a3cc Content-Type: text/plain; charset=UTF-8 Does restarting the session mean creating a new session object, or calling start() on the current one after calling stop()? Is the behavior the same if you do it the other way? On Jun 12, 2015 4:30 AM, "spamtrap" wrote: > On Thu, 11 Jun 2015 14:01:16 -0600, Tim Bain > wrote: > > >Confirm that step by step. Are the messages still on the broker when the > >transaction rolls back? Are they still on the broker when the client > >disconnects? Wherever you lose them, the previous step is the one to > >investigate. > > I've now done this. The message is still there when the transaction > rolls and and the broker disconnects. It is still there when the > client disconnects. It is still there when I create a new consumer. > It 'disappears' when I restart the session. In the broker log I can > see an Acknowledgement at this time, but it wasn't done by me. > > > --001a11c30b4ebe5110051851a3cc--