[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-549 - Lease set to -1 causes exception
clebert.suconic@jboss.com
do-not-reply at jboss.com
Fri Sep 22 10:55:28 EDT 2006
anonymous wrote : To make things a little simplier, do you think it would be useful to add another method such as:
|
| void setLeaseEnabled(boolean)
It would make sense IMO.
However if you throw an exception on setLeasePeriod(<0) isn't that a signature change? We would have to change some testcases using setLeasePeriod(-1) hoping to disable lease.
If you *must* change the API we will need to plan ahead.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973576#3973576
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973576
More information about the jboss-dev-forums
mailing list