SessCreateTDReply
SessCreate<TQ/TT>Request
11311132113311341135113611371138
* @return the unique identifier of the created destination. * * @throws JMSException */ private String createDestination(byte type, String name) throws JMSException { SessCreateDestReply reply = (SessCreateDestReply) requestor.request(new SessCreateDestRequest(type, name)); return reply.getAgentId(); }
114611471148114911501151115211531154
*/ public synchronized javax.jms.TemporaryQueue createTemporaryQueue() throws JMSException { checkClosed(); checkThreadOfControl(); SessCreateDestReply reply = (SessCreateDestReply) requestor.request(new SessCreateDestRequest(DestinationConstants.getTemporaryQueueType())); String tempDest = reply.getAgentId(); return new TemporaryQueue(tempDest, cnx); }
116211631164116511661167116811691170
*/ public synchronized javax.jms.TemporaryTopic createTemporaryTopic() throws JMSException { checkClosed(); checkThreadOfControl(); SessCreateDestReply reply = (SessCreateDestReply) requestor.request(new SessCreateDestRequest(DestinationConstants.getTemporaryTopicType())); String tempDest = reply.getAgentId(); return new TemporaryTopic(tempDest, cnx); }
14351436143714381439144014411442
logger.log(BasicLevel.DEBUG, "UserAgent, new destination created: " + destId); } else { destId = desc.getId(); } SessCreateDestReply reply = new SessCreateDestReply(req, destId.toString()); sendNot(getId(), new SyncReply(activeCtxId, reply)); }