if (transacted) { acknowledgeMode = Session.SESSION_TRANSACTED; }
   protected JBossSession createSessionInternal(boolean transacted, int acknowledgeMode,                                                boolean isXA, int type) throws JMSException   {      SessionDelegate sessionDelegate = delegate.createSessionDelegate(transacted, acknowledgeMode, isXA);      return new JBossSession(sessionDelegate, type);   }