Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 94863 invoked from network); 5 Oct 2008 20:21:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2008 20:21:18 -0000 Received: (qmail 88904 invoked by uid 500); 5 Oct 2008 20:21:15 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 88881 invoked by uid 500); 5 Oct 2008 20:21:15 -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 88870 invoked by uid 99); 5 Oct 2008 20:21:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Oct 2008 13:21:15 -0700 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=DNS_FROM_OPENWHOIS,DNS_FROM_SECURITYSAGE,SPF_HELO_PASS,SPF_PASS,URIBL_RHS_DOB,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Oct 2008 20:20:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kma5t-0006tB-EU for users@activemq.apache.org; Sun, 05 Oct 2008 13:20:45 -0700 Message-ID: <19828777.post@talk.nabble.com> Date: Sun, 5 Oct 2008 13:20:45 -0700 (PDT) From: akkij To: users@activemq.apache.org Subject: Re: ActiveMQ deployment options In-Reply-To: <7b3355cb0810051313k4564b328hd9feae9cf9c051a4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: akash.jain@coreobjects.com References: <19828552.post@talk.nabble.com> <7b3355cb0810051313k4564b328hd9feae9cf9c051a4@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Bruce for the reply. Does it mean that ActiveMQ embedded within tomcat gives better performance as there is no network call involved? Akash bsnyder wrote: > > On Sun, Oct 5, 2008 at 2:00 PM, akkij wrote: >> >> Hi, >> >> We have decided to use ActiveMQ for asynchronous messaging involved in >> one >> of our projects. I have been going through various documentation related >> to >> ActiveMQ; however i am looking for a specific information which >> unfortunately i couldn't get. >> >> If i am not mistaken then ActiveMQ can be intalled as a standalone >> process >> as well as embedded within tomcat server. If this is correct then i would >> like to know which of these 2 options is better and why? What happens to >> the >> Queue and Messages in case if ActiveMQ is embedded within tomcat and the >> tomcat instance goes down? > > ActiveMQ provides a few different deployment options, two of which are > stand alone as its own process and embedded in another process such as > Tomcat. Neither one is inherently better than the other, it really > comes down to the advantages and disadvantages of each that should be > compared for a given situation. Deploying ActiveMQ stand alone means > that it's not dependent upon other processes. Embedding ActiveMQ > inside another process means if that process goes down, so does > ActiveMQ. However, when embedding ActiveMQ in another Java process, > the vm:// protocol can be used to connect to the broker using local > calls without using the network stack. Whereas connecting to ActiveMQ > running stand alone can only be achieved using remote protocols which > involves TCP sockets. > > Bruce > -- > perl -e 'print > unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E );' > > Apache ActiveMQ - http://activemq.org/ > Apache Camel - http://activemq.org/camel/ > Apache ServiceMix - http://servicemix.org/ > > Blog: http://bruceblog.org/ > > -- View this message in context: http://www.nabble.com/ActiveMQ-deployment-options-tp19828552p19828777.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.