expose accessor for internal ActiveMQSession so added value operations are accessible from the pooled session. resolve: https://issues.apache.org/activemq/browse/AMQ-2258

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@778413 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2009-05-25 12:45:33 +00:00
parent 7135a68559
commit 1a8fd95e6f
1 changed files with 1 additions and 3 deletions

View File

@ -285,9 +285,7 @@ public class PooledSession implements Session, TopicSession, QueueSession, XASes
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");
}