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 77BB3F50B for ; Fri, 26 Apr 2013 14:07:42 +0000 (UTC) Received: (qmail 66983 invoked by uid 500); 26 Apr 2013 14:05:58 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 66129 invoked by uid 500); 26 Apr 2013 14:05:54 -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 62313 invoked by uid 99); 26 Apr 2013 14:03:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 14:03:18 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.posta@gmail.com designates 209.85.217.180 as permitted sender) Received: from [209.85.217.180] (HELO mail-lb0-f180.google.com) (209.85.217.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 14:03:13 +0000 Received: by mail-lb0-f180.google.com with SMTP id t11so3835359lbi.11 for ; Fri, 26 Apr 2013 07:02:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=o+WpBMuGaCf58j3bmsIcynxtj4Ya42G0tyqh2o84v+g=; b=N/SypZo6v1mTfRlYG41nQGQX6XQ/4DBi7unQhhqamtKVj/1UsxToWbwS0K1qAqrM8Y 2Nb00JzJhMXVc9NDYLS5m8GaXQ6/oi+sgPiJnsKpeSDH8ihX7ZSLkSTNWU/XGfQl28V9 yRkQk4M5GPRw7M5CZXSNa8yh1OKiXFVdbbsid2HcPlMyCKdEpb88cOGLwm+cyNkcmPI1 9aaf906qUDqfEHv7crMwgChu5bSQWDpQK/0PVFrdZIkTEPnY5dpNxbijGYTMUydRjRz4 4Nz/8Xl12Ated9dK/1P9TKWMC/AYXuVCWUE6MaQKO618yWYCqe2m7YOozuTZvWlNHbKO 5IQw== MIME-Version: 1.0 X-Received: by 10.152.3.137 with SMTP id c9mr22599824lac.5.1366984972658; Fri, 26 Apr 2013 07:02:52 -0700 (PDT) Received: by 10.114.96.194 with HTTP; Fri, 26 Apr 2013 07:02:52 -0700 (PDT) In-Reply-To: <1366937452679-4666232.post@n4.nabble.com> References: <1366843173742-4666180.post@n4.nabble.com> <1366937452679-4666232.post@n4.nabble.com> Date: Fri, 26 Apr 2013 07:02:52 -0700 Message-ID: Subject: Re: queue vs topic From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=089e01494232b56ee304db43fd47 X-Virus-Checked: Checked by ClamAV on apache.org --089e01494232b56ee304db43fd47 Content-Type: text/plain; charset=ISO-8859-1 If consumers "share" the stream of messages, ie, each gets a message from the stream, then use a queue. On Thu, Apr 25, 2013 at 5:50 PM, webber wrote: > Thank you for reply. > > Please let me explain background of this question. > > I am designing enterprise integration architecture using activemq to > communicate > multiple systems in a company. > Initially, I designed to put queues among systems. But from the point of > view of > flexibility I came to think of topic is better. Using queue and new system > is added, > we have to add a new queue and copy message in it. > > I am assuming multiple independent consumers share the same stream of > messages > and numbers of consumers are less than 10. messages should be persisted. > > Regards, > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/queue-vs-topic-tp4666180p4666232.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --089e01494232b56ee304db43fd47--