mirror of https://github.com/apache/activemq.git
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:
parent
7135a68559
commit
1a8fd95e6f
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue