* Updates to this value do not affect Connections that were previously created and placed * into the pool. In order to allocate new Connections based off this new ConnectionFactory * it is first necessary to {@link #clear()} the pooled Connections. @@ -365,7 +365,7 @@ public void setMaxConnections(int maxConnections) { /** * Gets the Idle timeout value applied to new Connection's that are created by this pool. - *
+ ** The idle timeout is used determine if a Connection instance has sat to long in the pool unused * and if so is closed and removed from the pool. The default value is 30 seconds. * @@ -378,7 +378,7 @@ public int getIdleTimeout() { /** * Sets the idle timeout value for Connection's that are created by this pool in Milliseconds, * defaults to 30 seconds. - *
+ ** For a Connection that is in the pool but has no current users the idle timeout determines how * long the Connection can live before it is eligible for removal from the pool. Normally the * connections are tested when an attempt to check one out occurs so a Connection instance can sit @@ -417,7 +417,7 @@ public boolean isCreateConnectionOnStartup() { /** * Whether to create a connection on starting this {@link PooledConnectionFactory}. - *
+ *
* This can be used to warm-up the pool on startup. Notice that any kind of exception
* happens during startup is logged at WARN level and ignored.
*
@@ -468,7 +468,7 @@ protected GenericKeyedObjectPool
* By default this value is set to -1 and no expiration thread ever runs.
*
* @param timeBetweenExpirationCheckMillis
diff --git a/transaction/transaction-jms/src/main/java/org/apache/aries/transaction/jms/internal/ConnectionPool.java b/transaction/transaction-jms/src/main/java/org/apache/aries/transaction/jms/internal/ConnectionPool.java
index 10305d0963..7b6e7b2361 100644
--- a/transaction/transaction-jms/src/main/java/org/apache/aries/transaction/jms/internal/ConnectionPool.java
+++ b/transaction/transaction-jms/src/main/java/org/apache/aries/transaction/jms/internal/ConnectionPool.java
@@ -30,7 +30,7 @@
/**
* Holds a real JMS connection along with the session pools associated with it.
- *
* Instances of this class are shared amongst one or more PooledConnection object and must
* track the session objects that are loaned out for cleanup on close as well as ensuring
* that the temporary destinations of the managed Connection are purged when all references
@@ -177,7 +177,7 @@ public synchronized void decrementReferenceCount() {
/**
* Determines if this Connection has expired.
- *
* A ConnectionPool is considered expired when all references to it are released AND either
* the configured idleTimeout has elapsed OR the configured expiryTimeout has elapsed.
* Once a ConnectionPool is determined to have expired its underlying Connection is closed.
diff --git a/transaction/transaction-jms/src/main/java/org/apache/aries/transaction/jms/internal/PooledSession.java b/transaction/transaction-jms/src/main/java/org/apache/aries/transaction/jms/internal/PooledSession.java
index d6d8fb424d..feec52ccd0 100644
--- a/transaction/transaction-jms/src/main/java/org/apache/aries/transaction/jms/internal/PooledSession.java
+++ b/transaction/transaction-jms/src/main/java/org/apache/aries/transaction/jms/internal/PooledSession.java
@@ -486,7 +486,7 @@ public String toString() {
/**
* Callback invoked when the consumer is closed.
- *
* This is used to keep track of an explicit closed consumer created by this
* session, by which we know do not need to keep track of the consumer, as
* its already closed.
diff --git a/transaction/transaction-manager/pom.xml b/transaction/transaction-manager/pom.xml
index d72488a2e0..e9726d2efd 100644
--- a/transaction/transaction-manager/pom.xml
+++ b/transaction/transaction-manager/pom.xml
@@ -22,7 +22,7 @@