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 6DA6B113F0 for ; Fri, 18 Jul 2014 21:26:06 +0000 (UTC) Received: (qmail 66857 invoked by uid 500); 18 Jul 2014 21:26:05 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 66768 invoked by uid 500); 18 Jul 2014 21:26: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 66307 invoked by uid 99); 18 Jul 2014 21:26:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2014 21:26:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sanjitmohanty@gmail.com designates 209.85.219.52 as permitted sender) Received: from [209.85.219.52] (HELO mail-oa0-f52.google.com) (209.85.219.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2014 21:26:02 +0000 Received: by mail-oa0-f52.google.com with SMTP id o6so4168359oag.39 for ; Fri, 18 Jul 2014 14:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qeyRHIEX0NWGfKC1InAgYGW4EIfxyCcdDwXJ9RZDi4k=; b=QQ41atgV1uXIp4Pz67YiWeYBWroISDMQ91o4WNXqzy7Hr/vuMdMttHfNN3UFjHqLwx tcURPy4YDP1lo9F7M3tZX8ruU2jvd9nP46tarSiq8fJFtOh/r9YYDQdw7d4Q2Z5xYaXP AAH9i/CHpK+vPX7vL9OP+1B3DDs0nEUq0T7HDDScAoHDW6IiQBn4Kq+3bICiyh52LPmZ FPmALsb1/CFhuEKdp5j8Gp3xUWUqdX+tFHe7gYrCJB8wp3nKTrXzsczrJqhmVBzkE1i6 H4s5ptRB5sFfJotwrQKFfPcFHLdO6tNJlDMDVZaPh9hKIxwahfw1QojWDKU9uyBU836u MdXA== MIME-Version: 1.0 X-Received: by 10.182.125.8 with SMTP id mm8mr10761191obb.11.1405718737698; Fri, 18 Jul 2014 14:25:37 -0700 (PDT) Received: by 10.182.74.233 with HTTP; Fri, 18 Jul 2014 14:25:37 -0700 (PDT) Date: Sat, 19 Jul 2014 02:55:37 +0530 Message-ID: Subject: activemq in a 2 node cluster From: Sanjit Mohanty To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=089e012955b403c52004fe7e669d X-Virus-Checked: Checked by ClamAV on apache.org --089e012955b403c52004fe7e669d Content-Type: text/plain; charset=UTF-8 Hi, I've topic message listeners running in both the nodes of a cluster. Both of them are listening onto the same topic. But my requirement is I want only one of the message listener should consume the message & only when it's node goes down for some reason, only then the other message consumer takes over & continue processing the messages from the topic. How can I achieve this in activemq? I'm using the activemq version 5.7.0 Thanks in advance, Sanjit --089e012955b403c52004fe7e669d--