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 523BF106C2 for ; Tue, 10 Dec 2013 12:35:42 +0000 (UTC) Received: (qmail 67980 invoked by uid 500); 10 Dec 2013 12:35:41 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 67545 invoked by uid 500); 10 Dec 2013 12:35:36 -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 67532 invoked by uid 99); 10 Dec 2013 12:35:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 12:35:34 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of angeshwar@gmail.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 12:35:30 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VqMWS-00049k-82 for users@activemq.apache.org; Tue, 10 Dec 2013 04:34:44 -0800 Date: Tue, 10 Dec 2013 04:34:29 -0800 (PST) From: deepak_a To: users@activemq.apache.org Message-ID: <1386678869083-4675328.post@n4.nabble.com> Subject: Regarding Pluggable+storage+lockers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org All, I am running ActiveMQ (5.6.0) integrated in JBoss. I am also using Apache Camel. ActiveMQ runs in a master/slave fashion. To ensure failover of Apache Camel routes, I have implemented strategy as shown below http://www.liquid-reality.de/display/liquid/2011/11/11/Hot+Standby+failover+for+Apache+Camel+routes - This ensures that when the master acquires a lock on the database, the slave (Camel) waits until master release lock (i.e. Master fails) - then slave takes over Does the Pluggable+storage+lockers described below - help me achieve the same? https://cwiki.apache.org/confluence/display/ACTIVEMQ/Pluggable+storage+lockers I presume not? can some one clarify Note: the strategy I am following works perfect! However the query I use select ...for update works fine (in holding lock in Oracle database but fails with SQL Server - since it does not support select ... for update) regards, D -- View this message in context: http://activemq.2283324.n4.nabble.com/Regarding-Pluggable-storage-lockers-tp4675328.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.