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 9A1EC2C24 for ; Sat, 7 May 2011 16:53:08 +0000 (UTC) Received: (qmail 97243 invoked by uid 500); 7 May 2011 16:53:08 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 97204 invoked by uid 500); 7 May 2011 16:53:08 -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 97196 invoked by uid 99); 7 May 2011 16:53:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 May 2011 16:53:08 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 May 2011 16:53:02 +0000 Received: by qyk2 with SMTP id 2so3992177qyk.2 for ; Sat, 07 May 2011 09:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=pynTt1fRDTcrWlnBdUJZ73DKQNBwSTlmHJ1l7e8X2/Q=; b=CPzSerRsyhME33CE2gqu76yoSLXCVwaxWYkaIB7SLZBY1lZEOETGOEJLn8auqb6VP/ Vlt7fzdhsyO4Vjyw8uV9kRLFkQCnikrs6LIjni109dXrU0SUUOJfu37PLhb6wiiGkclx Bxg8zhnDWeyNhXD32WLDwZWhW/lL0zyMlbsWg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JrzgD8nA+fjcfEn9mk/YpJiIdC+h543DFXbic6PXc6Fs3BreeT8r3yTnU+1VTHmK7g OU2TDI7nzRzjTRR2DeN7t8iCo/NXzv0Ec6U+86lxzQ3xTcVN6MKu0d8OUSnb/kIOWJmb E/nXDLmpsF09+cAS0TkZ6mPFMajpvlE4PHdNE= MIME-Version: 1.0 Received: by 10.229.26.213 with SMTP id f21mr3398877qcc.217.1304787161638; Sat, 07 May 2011 09:52:41 -0700 (PDT) Received: by 10.229.84.207 with HTTP; Sat, 7 May 2011 09:52:41 -0700 (PDT) In-Reply-To: <1304764154421-3505304.post@n4.nabble.com> References: <1304764154421-3505304.post@n4.nabble.com> Date: Sat, 7 May 2011 17:52:41 +0100 Message-ID: Subject: Re: Using queue to support disconnected clients From: Gary Tully To: "users@activemq.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org That is the way to go. On Saturday, 7 May 2011, GuyPardon wrote: > Hi, > > For a new project (a cash register system) we would like to use ActiveMQ to > support the following: > > -cash registers (clients) are connected to a central server for archival of > sales messages > -cash registers can go offline for some time due to network glitches but the > cash register needs to keep on working > -sales are pushed to a central server when online, or as soon as the network > connection is restored > > We are thinking of ActiveMQ to support: > > -a queue at the cash register (locally), so during offline times messages > are queued > -when there is a network, all messages are pushed to a server queue for > archival processing > > It seems like we need two ActiveMQ brokers (one in the client, one on the > central server) and connect the two to have this forwarding. > > Is there a better way to achieve this behavior with ActiveMQ, or will this > do? > > Thanks > Guy > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Using-queue-to-support-disconnected-clients-tp3505304p3505304.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- http://blog.garytully.com http://fusesource.com