[Jboss-cvs] JBossAS SVN: r56202 - branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Aug 23 18:47:10 EDT 2006
Author: weston.price at jboss.com
Date: 2006-08-23 18:47:10 -0400 (Wed, 23 Aug 2006)
New Revision: 56202
Modified:
branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf/ServerSessionPoolFactory.java
Log:
[JBAS-3511] Improvements for ASF integration, pool management, idle session collection
as and dynamic allocation.
Modified: branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf/ServerSessionPoolFactory.java
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf/ServerSessionPoolFactory.java 2006-08-23 22:46:58 UTC (rev 56201)
+++ branches/JBoss_4_0_3_SP1_JBAS_3511/server/src/main/org/jboss/jms/asf/ServerSessionPoolFactory.java 2006-08-23 22:47:10 UTC (rev 56202)
@@ -20,6 +20,7 @@
*
* @author <a href="mailto:peter.antman at tim.se">Peter Antman</a> .
* @author <a href="mailto:hiram.chirino at jboss.org">Hiram Chirino</a> .
+ * @author <a href="mailto:weston.price at jboss.com>Weston Price</a>
* @version $Revision$
*/
public interface ServerSessionPoolFactory
@@ -71,4 +72,27 @@
*/
ServerSessionPool getServerSessionPool(Destination destination, Connection con, int minSession, int maxSession, long keepAlive, boolean isTransacted, int ack,
boolean useLocalTX, MessageListener listener) throws JMSException;
+
+ /**
+ * Create a new <tt>ServerSessionPool</tt>.
+ *
+ * @param destination the destination
+ * @param con the jms connection
+ * @param minSession the minimum number of sessions
+ * @param maxSession the maximum number of sessions
+ * @param keepAlive the time to keep sessions alive
+ * @param isTransacted whether the pool is transacted
+ * @param ack the acknowledegement method
+ * @param listener the listener
+ * @param useLocalTX whether to use local transactions
+ * @param lazy whether the pool is lazily initialized
+ * @param recycle whether or not idle sessions are recycled
+ * @param idleTimeout the time between runs of the reaper thread
+ * @return A new pool.
+ * @throws JMSException for any error
+ */
+ ServerSessionPool getServerSessionPool(Destination destination, Connection con, int minSession, int maxSession, long keepAlive, boolean isTransacted, int ack,
+ boolean useLocalTX, boolean lazy, boolean recycle, long idleTimeout, MessageListener listener) throws JMSException;
+
+
}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list