Re: Reload Java EIP Rules

2007-12-06 Thread James Strachan
On 20/11/2007, James Strachan <[EMAIL PROTECTED]> wrote: > On 20/11/2007, James Strachan <[EMAIL PROTECTED]> wrote: > > On 20/11/2007, Rob Davies <[EMAIL PROTECTED]> wrote: > > > ActiveMQ 5 requires Java 5 - so this won't be a problem for AgentSmth > > > We just need to override the Smith.redefineC

Re: Reload Java EIP Rules

2007-11-20 Thread ttmdev
Might want to take a look at Tomcat's reloading classloader thingy ;) Tomcat's reloading classloader redeploys a web application on the fly if certain parts (e.g., context descriptor, war, web.xml, etc.) change. James.Strachan wrote: > > On 20/11/2007, Rob Davies <[EMAIL PROTECTED]> wrote

Re: Reload Java EIP Rules

2007-11-20 Thread James Strachan
On 20/11/2007, James Strachan <[EMAIL PROTECTED]> wrote: > On 20/11/2007, Rob Davies <[EMAIL PROTECTED]> wrote: > > ActiveMQ 5 requires Java 5 - so this won't be a problem for AgentSmth > > We just need to override the Smith.redefineClass() method in a > > derived class to add some eventing to stop

Re: Reload Java EIP Rules

2007-11-20 Thread James Strachan
On 20/11/2007, Rob Davies <[EMAIL PROTECTED]> wrote: > ActiveMQ 5 requires Java 5 - so this won't be a problem for AgentSmth > We just need to override the Smith.redefineClass() method in a > derived class to add some eventing to stop the routes and reload the > classes That should work! :) If it

Re: Reload Java EIP Rules

2007-11-19 Thread Rob Davies
ActiveMQ 5 requires Java 5 - so this won't be a problem for AgentSmth We just need to override the Smith.redefineClass() method in a derived class to add some eventing to stop the routes and reload the classes cheers, Rob http://open.iona.com/ -Enterprise Open Integration http://rajdavie

Re: Reload Java EIP Rules

2007-11-19 Thread Viswanath Durbha
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 r

Re: Reload Java EIP Rules

2007-11-19 Thread James Strachan
On 19/11/2007, Viswanath Durbha <[EMAIL PROTECTED]> 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

Re: Reload Java EIP Rules

2007-11-19 Thread Viswanath Durbha
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 co

Re: Reload Java EIP Rules

2007-11-19 Thread James Strachan
On 19/11/2007, Viswanath Durbha <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using ActiveMQ 5.0 snapshot version that has Camel integrated. I've > defined some Camel EIP routes using Java. I created a jar and dropped it > into the $ACTIVEMQ_HOME/lib folder. All the routes I've defined in there > work