activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viswanath Durbha <Viswanath.Dur...@gmail.com>
Subject Re: Reload Java EIP Rules
Date Mon, 19 Nov 2007 16:03:20 GMT

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.

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.


James.Strachan wrote:
> 
> On 19/11/2007, Viswanath Durbha <Viswanath.Durbha@gmail.com> 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 perfectly fine.
>>
>> However, if I want to change any of those routes, can I do that without
>> restarting the broker itself? If I just drop a new jar file, would it be
>> picked up by the current broker instance automatically? Or is there any
>> other way to do it?
> 
> Currently today the only option is to bounce the broker unfortunately.
> Though on the plus side; if you're clients are using failover: then
> things will just work even if you bounce the broker.
> 
> You can always deploy the EIP routes in another process; so bouncing
> it doesn't affect the broker.
> 
> To avoid bouncing the broker we could experiment with using JavaRebel...
> http://www.zeroturnaround.com/javarebel/
> 
> to auto-detect class changes and redeploying them. Another option is
> Agent Smith that does a similar thing...
> https://agentsmith.dev.java.net/
> 
> We'd just need to figure out a way to ensure that if a RouteBuilder
> class is changed, we correctly remove the old one (shutting down the
> route) and re-applying the new one.
> 
> I've created an issue to track this...
> https://issues.apache.org/activemq/browse/AMQ-1495
> 
> -- 
> 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#a13839275
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message