[jboss-as7-dev] DataSource Enable/disable

Jim Tyrrell jtyrrell at redhat.com
Wed Apr 20 18:55:16 EDT 2011


Should like in web traffic routing for clustering their be a stopped stage:
add - adds
remove - kills it
enable - means it can accept new connections
disable - mean no new requests
stopped - means no request at all

Jim Tyrrell
Senior JBoss Solutions Architect

Did you see RHT on CNBC's Mad Money?
http://www.cnbc.com/id/39401056



On Apr 20, 2011, at 8:31 AM, Stefano Maestri wrote:

> When John have changed datasources subsystem he have created 4 
> operations for them:
> - add
> - remove
> - enable
> - disable
> 
> I like them, now Heiko is asking to move enable/disable out in favour of 
> a more standard r/w attribute enabled (note that this attribute is 
> present in our xml). See There:
> 
> https://issues.jboss.org/browse/JBAS-9341
> 
> Since the operation don't just change the attribute, but also stop 
> services and unbind ds from jndi I'd prefer to keep operations as is. I 
> think an explicit operation make clearer to users that they are changing 
> the status of the entire datasourrce
> 
> opinions?
> 
> S.
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110420/0eb39368/attachment.html 


More information about the jboss-as7-dev mailing list