Return-Path: X-Original-To: apmail-streams-dev-archive@minotaur.apache.org Delivered-To: apmail-streams-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E5A710C14 for ; Thu, 19 Sep 2013 20:15:45 +0000 (UTC) Received: (qmail 98070 invoked by uid 500); 19 Sep 2013 20:15:44 -0000 Delivered-To: apmail-streams-dev-archive@streams.apache.org Received: (qmail 98022 invoked by uid 500); 19 Sep 2013 20:15:44 -0000 Mailing-List: contact dev-help@streams.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@streams.incubator.apache.org Delivered-To: mailing list dev@streams.incubator.apache.org Received: (qmail 98014 invoked by uid 99); 19 Sep 2013 20:15:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2013 20:15:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2013 20:15:37 +0000 Received: by mail-lb0-f181.google.com with SMTP id u14so8081567lbd.26 for ; Thu, 19 Sep 2013 13:14:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=1bRHYV+3LaIyoYtzHqYYU9zh5ch7tJ3OuoQQTigrV4Q=; b=Y6CDZn+g1EWrskr75UmospKF6k9iDd6gsAmkCb5Zyi4typaL1IWR3rOo2qRcN/9HwC 4lplCbC7wxeuP9dOGzb1UWFQyIs3Lf3Bi1JlrYMicOVdZhd+waXCrtMoQxdZ4GFaiUkN 1q2Rr/q7G7m2zt10r/dpNrTTI4OLp91QmaeiJv7KJ2y1di8Kay5T/F483+5z3nYL19xu TD/KNZXDadmDF18ih4bu8HEsinNZWl/2/HZmEcgCcykhRWK8VnLqMFaJ03kVqWrAYVxY ofqJep84tG4l6rqv0NSZn8Ah+943wWXKcCP22R+VNXEaiZaBOrvoDlrt5TjBa9P+N88+ NJ9Q== X-Gm-Message-State: ALoCoQkqhLTTgRSX7zfsyUH2sMy/3wyEvU8522a1lGZ8Di54Thn2SdG1m5Pr6hUtVpVQj05pQ0PF MIME-Version: 1.0 X-Received: by 10.112.156.166 with SMTP id wf6mr3110222lbb.13.1379621696171; Thu, 19 Sep 2013 13:14:56 -0700 (PDT) Received: by 10.112.198.105 with HTTP; Thu, 19 Sep 2013 13:14:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 19 Sep 2013 13:14:56 -0700 Message-ID: Subject: Re: Use of ActiveMQ From: Chris Geer To: dev@streams.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11c18e7a20028004e6c235ed X-Virus-Checked: Checked by ClamAV on apache.org --001a11c18e7a20028004e6c235ed Content-Type: text/plain; charset=ISO-8859-1 Failover, load_balancing...... On Thu, Sep 19, 2013 at 1:13 PM, Jason Letourneau wrote: > Performance more than anything for passing between components but also > for advanced messaging patterns or systems that might be interested in > wiretapping the JMS queues - http would lock us into point to point > messaging between all the components, though I guess you could just > add multiple outbound routes for http... > > On Thu, Sep 19, 2013 at 3:18 PM, Danny Sullivan > wrote: > > Hey Everyone, > > Is there a reason to use ActiveMQ in Streams at all? I noticed the > following in the streamsCamelContext.xml: > > > uri="activemq:queue:activities"/> > > > > true > ref="activityService" method="receiveExchange"/> > > > > > I replace this with the following and got the same functionality: > > > completionInterval="500" groupExchanges="true"> > true > ref="activityService" method="receiveExchange"/> > > > This makes sense conceptually because what we currently have is a POST > method reaching the server and being sent to the same server via JMS. Is > there a reason to use a messaging system rather than have the streams sent > and received via http? Either Camel or Spring MVC should be able to > accomplish this. What I'd like to do is set up single endpoints for > publisher registration, subscriber registration, publishing streams, and > receiving streams in Camel (because Storm unfortunately doesn't look like > it provides support for http routing). Storm would process all the data > coming in from Camel and output it to the Cassandra DB. Receiving streams > would operate much in the same way it currently does: by refreshing the > stream from the database. > > Danny > --001a11c18e7a20028004e6c235ed--