Driven by client request the following changes have been made the the StdServerSessionSession/Pool in the ASF implementation:
1) 3 new elements have been added to jboss.xml
<LazyInitialization></LazyInitialization> <RecycleIdleSessions></RecycleIdleSessions> <IdleTimeOutMinutes></IdleTimeOutMinutes>
LazyInitialization being set to true requires that the StdServerSessionPool be lazily constructed with only the minimum pool size being created on startup.
RecycleIdleSesssion being set to true creates a JMS Reaper that functions in the same manner as our IdleRemover: removes idle JMS Sessions a configured interval (IdleTimeoutMinutes)
As a result, the StdServerSessionPool functions in a similar manner to the InternalManagedConnection pool. A semaphore has be implemented to managed acquiring session. Idle sessions are recycled with a PoolFiller maintaining the minimum pool size in the case that the session count falls below the minimum.
THis stuff is on a different branch at this point but my plan is to carry these features over to the JMS Inflow stuff as time permits.
Looks ok to me.
The important part is that they are sufficiently tested,
which was the main reason why I didn't backport the previous work I did
Well, we'll find out how good it is when EJB3 RC9 goes out!
You just never can let one post go by without saying something can you? No matter how useless or insulting. Don't you have a laptop to buy? :-)