this.ident = cnx.nextSessionId();
this.cnx = cnx;
this.transacted = transacted;
this.acknowledgeMode = acknowledgeMode;
this.mtpx = mtpx;
requestor = new Requestor(mtpx);
receiveRequestor = new Requestor(mtpx);
autoAck = !transacted && acknowledgeMode != javax.jms.Session.CLIENT_ACKNOWLEDGE;
consumers = new Vector();
producers = new Vector();