This content has been marked as final.
Show 4 replies
-
1. Re: StdServerSession/StdServerSessionPool -- JmsServerSessio
weston.price Sep 8, 2006 8:15 AM (in response to weston.price)Also:
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. -
2. Re: StdServerSession/StdServerSessionPool -- JmsServerSessio
adrian.brock Sep 8, 2006 8:53 AM (in response to weston.price)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
from head. -
3. Re: StdServerSession/StdServerSessionPool -- JmsServerSessio
bill.burke Sep 8, 2006 11:11 AM (in response to weston.price)Well, we'll find out how good it is when EJB3 RC9 goes out!
-
4. Re: StdServerSession/StdServerSessionPool -- JmsServerSessio
weston.price Sep 8, 2006 11:18 AM (in response to weston.price)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? :-)