activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r778413 - /activemq/trunk/activemq-pool/src/main/java/org/apache/activemq/pool/PooledSession.java
Date Mon, 25 May 2009 12:45:25 GMT
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");
         }



Mime
View raw message