You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2009/05/25 14:45:25 UTC
svn commit: r778413 -
/activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledSession.java
Author: gtully
Date: Mon May 25 12:45:25 2009
New Revision: 778413
URL: http://svn.apache.org/viewvc?rev=778413&view=rev
Log:
expose accessor for internal ActiveMQSession so added value operations are accessible from the pooled session. resolve: https://issues.apache.org/activemq/browse/AMQ-2258
Modified:
activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledSession.java
Modified: activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledSession.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledSession.java?rev=778413&r1=778412&r2=778413&view=diff
==============================================================================
--- activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledSession.java (original)
+++ activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledSession.java Mon May 25 12:45:25 2009
@@ -285,9 +285,7 @@
return new PooledTopicPublisher(getTopicPublisher(), topic);
}
- // Implementation methods
- // -------------------------------------------------------------------------
- protected ActiveMQSession getInternalSession() throws AlreadyClosedException {
+ public ActiveMQSession getInternalSession() throws AlreadyClosedException {
if (session == null) {
throw new AlreadyClosedException("The session has already been closed");
}