Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 33780 invoked from network); 20 Nov 2007 04:39:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2007 04:39:33 -0000 Received: (qmail 23537 invoked by uid 500); 20 Nov 2007 04:39:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 23513 invoked by uid 500); 20 Nov 2007 04:39:19 -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 23504 invoked by uid 99); 20 Nov 2007 04:39:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 20:39:19 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,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; Tue, 20 Nov 2007 04:39:07 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IuKt2-0001Ck-Vc for users@activemq.apache.org; Mon, 19 Nov 2007 20:39:00 -0800 Message-ID: <13850813.post@talk.nabble.com> Date: Mon, 19 Nov 2007 20:39:00 -0800 (PST) From: Viswanath Durbha To: users@activemq.apache.org Subject: Re: Reload Java EIP Rules In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Viswanath.Durbha@gmail.com References: <13834840.post@talk.nabble.com> <13839275.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Here's what I read about AgentSmith. 1. It has an implementation of the java.lang.instrument.Instrumentation interface and it also has a file monitor. 2. It has the ability to monitor predefined list of folders for changes to classes. It can also monitor jar files. 3. It needs atleast Java 5 to run. There are a couple of problems that need to be addressed if we want to use this tool in ActiveMQ. 1. There doesn't seem to be any event notification mechanism built into this. So this tool will automatically reload the classes as soon as it identifies them as changed. So there is no mechanism by which we can stop our routes and then reload our classes, and then start the routes again. 2. It needs atleast Java 5 to run. I assume that we are planning to have this feature as part of 5.1.0 release of ActiveMQ. What JVM version is the minimum required for 5.1.0? If it has to run on 1.4.2, then Agent Smith is not an option for us. Please let me know your thoughts. James.Strachan wrote: > > On 19/11/2007, Viswanath Durbha wrote: >> >> Thanks for the quick response. >> >> I was looking at both JavaRebel and AgentSmith. JavaRebel seems to have a >> very restrictive license agreement which may never fit into the Apache >> License of ActiveMQ. >> >> AgentSmith looks promising and it uses Apache License 2.0. I would look >> into >> it and see if I can contribute to this issue in any way. > > Awesome! I feel we might need to kinda listen to Class objects being > reloaded, so we could tell the CamelContext to stop a route for a > RouteBuilder and start another one etc. I've not looked into Agent > Smith to see if its got some kinda notification > > >> I just started using ActiveMQ and I feel it's fantastic. I hope I can get >> familiar enough with it so that I can contribute. > > Great - I hope so too! :) > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/Reload-Java-EIP-Rules-tf4835861s2354.html#a13850813 Sent from the ActiveMQ - User mailing list archive at Nabble.com.