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 372A1200B9D for ; Thu, 13 Oct 2016 15:09:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 35AFF160AE4; Thu, 13 Oct 2016 13:09:07 +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 74BC4160AE3 for ; Thu, 13 Oct 2016 15:09:06 +0200 (CEST) Received: (qmail 85897 invoked by uid 500); 13 Oct 2016 13:09: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 Delivered-To: moderator for users@activemq.apache.org Received: (qmail 62877 invoked by uid 99); 13 Oct 2016 08:19:04 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.551 X-Spam-Level: *** X-Spam-Status: No, score=3.551 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313, URI_TRY_3LD=0.065] autolearn=disabled Date: Thu, 13 Oct 2016 01:11:49 -0700 (PDT) From: MariscaJane To: users@activemq.apache.org Message-ID: <1476346309446-4717857.post@n4.nabble.com> Subject: increasing number of pending message when consumer hit wrong url MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 13 Oct 2016 13:09:07 -0000 hai everyone this my first time using C, i have problem in my consumer, i have 1 number of pending message, when i set wrong url in the consumer's config and i start it, my number of pending message increased is there any problem using one of these in run method ? //session = connection->createSession( Session::AUTO_ACKNOWLEDGE ); //session = connection->createSession( Session::CLIENT_ACKNOWLEDGE ); my first message didnt consumed, still in number of pending message, but my number of pending message increased T_T can you help me ? thank you -- View this message in context: http://activemq.2283324.n4.nabble.com/increasing-number-of-pending-message-when-consumer-hit-wrong-url-tp4717857.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.