Package org.objectweb.joram.shared.client

Examples of org.objectweb.joram.shared.client.SessCreateDestRequest


   * @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();
  }
View Full Code Here


   */
  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);
  }
View Full Code Here

   */
  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);
  }
View Full Code Here

TOP

Related Classes of org.objectweb.joram.shared.client.SessCreateDestRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.