// Implementation methods
// -------------------------------------------------------------------------
protected ActiveMQSession getSession() throws AlreadyClosedException {
if (session == null) {
throw new AlreadyClosedException("The session has already been closed");
}
return session;
}