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 5F2C3200AE4 for ; Fri, 10 Jun 2016 03:22:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5DABE160A59; Fri, 10 Jun 2016 01:22:53 +0000 (UTC) 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 A48E3160A58 for ; Fri, 10 Jun 2016 03:22:52 +0200 (CEST) Received: (qmail 8857 invoked by uid 500); 10 Jun 2016 01:22:51 -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 8844 invoked by uid 99); 10 Jun 2016 01:22:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 01:22:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AEDE61A058A for ; Fri, 10 Jun 2016 01:22:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.259 X-Spam-Level: ** X-Spam-Status: No, score=2.259 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_IMAGE_ONLY_20=0.7, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com header.b=k/5++5z6; dkim=pass (2048-bit key) header.d=spinn3r-com.20150623.gappssmtp.com header.b=xClhWCK/ Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 2h9Ct8RdJ8po for ; Fri, 10 Jun 2016 01:22:48 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 5C9975F343 for ; Fri, 10 Jun 2016 01:22:48 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id e72so90948593oib.1 for ; Thu, 09 Jun 2016 18:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=F65IRv4t2OPjV4eC/Nox/y8svoSA6i8xamsESZZ8Jj8=; b=k/5++5z6L4gSotZsdhVvIrs+1dSvY9UnEuiKVkMygvxuAGco+it0ES7BOGQCyv9O4n UJTx4FB1B4SLsr1VJi1fZm9YlEKG1WBk854WEsKSEhCMgAF1prOyroAdyKCaHcRMTiT7 UrZx9SK5yFA4wteawZ6m+Fe0oJgBYTz+Ojm3Ov9VPZn6NFEV26PUixcJWKDUfwttxDtG 6CtQC2z4eNFpA1/AsVR6FQx63CSKTY0XUjl6d8/jRnRALCYPU7SKVff96rUhSyDPPrh/ H2pWo9QrW9X0jNsmMjytoEunrDzVXT8bb/uFZCr/Rd+skkXoJBteqcVAZLy8NLRxRY5/ nyyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spinn3r-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:from:date:message-id:subject:to; bh=F65IRv4t2OPjV4eC/Nox/y8svoSA6i8xamsESZZ8Jj8=; b=xClhWCK/rx81IPRjoeiQsi3AjgjPFyS3vHBi6G2Niw56DmINQ7J5dH21Lu1f8Q5uKa lK8Q+dOOeJBAs1KsMeBVrPvP+Y3vl3OVgpGWJWrF73DUuZ6lXN4G6PwYFwbw9WzafKF2 zoNdtm6LA1N6rbM2feFPFq92qPnmqVAEjCPP/xEJOL3OMDvOOQ86EEyEo4+HmCGHLMOO i7IBFqH2yRN18ikSfq+SRif3pq2OJRJg5fk0pWRQjzX6JBRWa43fY6tsNa+fslPjbdGf tvUFLdWn6L1OYGSC7n5Q2jNsENUgi2mSymTAtqXI0jAHDxQ6fJqladDOu9b6jFDKCB6w 3guQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=F65IRv4t2OPjV4eC/Nox/y8svoSA6i8xamsESZZ8Jj8=; b=ZtczW+MbRkC5exvCi1H7ZCUqNZEKpU+YiYorr1tGTpHC8LyTvP6a3YzidUodq9RmPs LkwEaSOvhbisWg9M/8//hlDITTb6qdn2zX8jDAGhKLHduIhYHsQyesPMxa5BE7s9V0Ty mJO1p5SuWXCk7flOVNCwr6pD3/3mbbkfQnTSLel2okctgbHz12g5TFV4t/ZI+SZ1vBPf 0ovl90dVmb75pD4knPIGCx9skkMt0HcyFs1V8QzbmkeYipfAfUvpwToKgKUGBVdNFnHw g4sQuvgJ3lGZV1n9B/Xc8g4gfNkX44BMrJDKn7fYvUA6jGaGr2ZbVZnbSqk4UhYejK8D b6Zg== X-Gm-Message-State: ALyK8tJSJaz01FFDNy0Tp6b2YXBriPwQROJJZAtVN+f+x7EZfkWdSsr69O/O1Luzn0jwFO/trt+T08sfUqtA0w== X-Received: by 10.157.42.5 with SMTP id t5mr7988905ota.94.1465521767533; Thu, 09 Jun 2016 18:22:47 -0700 (PDT) MIME-Version: 1.0 Sender: burtonator2011@gmail.com Received: by 10.182.32.71 with HTTP; Thu, 9 Jun 2016 18:22:28 -0700 (PDT) From: Kevin Burton Date: Thu, 9 Jun 2016 18:22:28 -0700 X-Google-Sender-Auth: cmG7lUtDDAUJK4rnherLc_JzRKE Message-ID: Subject: MessageAvailableListener doesn't work with rollback? To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001a11404e7e5d50950534e260f1 archived-at: Fri, 10 Jun 2016 01:22:53 -0000 --001a11404e7e5d50950534e260f1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm trying to use a message available listener to notify me when I have a message after a rollback. https://gist.github.com/burtonator/ebf06a7238bd9a1273853ce5282acf02 I'm doing this so that I can do non-blocking receive. However, it's only called once, in the initial receive. Even if I do 5 rollbacks I only get the event on the first message the first time its delivered. Any thoughts as to what I'm doing wrong here? Stumped on this one.. at last I tracked it down though. Wasted half a day already. --=20 We=E2=80=99re hiring if you know of any awesome Java Devops or Linux Operat= ions Engineers! Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com =E2=80=A6 or check out my Google+ profile --001a11404e7e5d50950534e260f1--