SourceForge.net
2003-06-16 10:32:10 UTC
Bugs item #755234, was opened at 2003-06-16 20:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=755234&group_id=54559
Category: server
Group: v0.7.6
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Anderson (tanderson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Discrepancy in LeaseManager configuration
Initial Comment:
The LeaseManagerConfiguration/sleepTime defaults
to "300" [1], yet the code expects the time to be in
milliseconds [2].
So, when there are no messages to expire, the
LeaseManager will wake up every 300 ms to do nothing.
The openjms.xsd schema [3] doesn't specify the
expected type - seconds or milliseconds. I'm inclined to
make it seconds, and change LeaseManager.java to be
consistent with the other time fields in the configuration.
[1] see
src/main/org/exolab/jms/config/openjms_defaults.xml
[2] see src/main/org/exolab/jms/lease/LeaseManager.java
[3] see src/main/org/exolab/jms/config/openjms.xsd
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=755234&group_id=54559
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=755234&group_id=54559
Category: server
Group: v0.7.6
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Anderson (tanderson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Discrepancy in LeaseManager configuration
Initial Comment:
The LeaseManagerConfiguration/sleepTime defaults
to "300" [1], yet the code expects the time to be in
milliseconds [2].
So, when there are no messages to expire, the
LeaseManager will wake up every 300 ms to do nothing.
The openjms.xsd schema [3] doesn't specify the
expected type - seconds or milliseconds. I'm inclined to
make it seconds, and change LeaseManager.java to be
consistent with the other time fields in the configuration.
[1] see
src/main/org/exolab/jms/config/openjms_defaults.xml
[2] see src/main/org/exolab/jms/lease/LeaseManager.java
[3] see src/main/org/exolab/jms/config/openjms.xsd
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=755234&group_id=54559