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 05389200CD7 for ; Tue, 1 Aug 2017 11:16:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 03CEF166C20; Tue, 1 Aug 2017 09:16:42 +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 47748166C1D for ; Tue, 1 Aug 2017 11:16:41 +0200 (CEST) Received: (qmail 16415 invoked by uid 500); 1 Aug 2017 09:16:35 -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 16368 invoked by uid 99); 1 Aug 2017 09:16:35 -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; Tue, 01 Aug 2017 09:16:35 +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 789031A21CA for ; Tue, 1 Aug 2017 09:16:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.286 X-Spam-Level: ** X-Spam-Status: No, score=2.286 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled 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 veZrJeeVEIZH for ; Tue, 1 Aug 2017 09:16:32 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id EA4D55FB2C for ; Tue, 1 Aug 2017 09:16:31 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 70BD75810D591 for ; Tue, 1 Aug 2017 02:16:31 -0700 (MST) Date: Tue, 1 Aug 2017 02:16:10 -0700 (PDT) From: Tamas1 To: users@activemq.apache.org Message-ID: <1501578970003-4729101.post@n4.nabble.com> In-Reply-To: <1a9534af-9efa-2591-693d-f5edf37b318f@gmail.com> References: <1501168890154-4728967.post@n4.nabble.com> <1501497688856-4729057.post@n4.nabble.com> <1a9534af-9efa-2591-693d-f5edf37b318f@gmail.com> Subject: Re: [ActiveMQ-CPP] "backup=true" does not work with failover transport MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 01 Aug 2017 09:16:42 -0000 Thank you for your answer. Having no other option, I have used it with "backup=false". I use two ActiveMQ servers in network of brokers setup for realtime, non persistent messaging. Throughput is up to several thousands of messages / second on a couple of queues parallel. If it worked, I would be interested in to see if "backup=true" causes a significant decrease in the time of failover. --- Loosely related topic: When I shut down the "primary" broker, messages in the queues (which are in memory) are obviously lost. (Persistent messaging doesn't make sense because of a very low "TTL".) Is there any way to get (or trigger) producers to reconnect to the "secondary" (or backup) broker before the "primary" broker shuts down? If there is no producing on the "to be shut down broker" and remaining messages are consumed before the shutdown then the failover would not cause messages to be lost. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-backup-true-does-not-work-with-failover-transport-tp4728967p4729101.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.