Package org.objectweb.joram.shared.client

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


    while (true) {
      try {
        long messageId;
        long ackId;
        AbstractJmsReply obj;

        synchronized (inputLock) {
          int len = StreamUtil.readIntFrom(bis);
          messageId = StreamUtil.readLongFrom(bis);
          ackId = StreamUtil.readLongFrom(bis);
View Full Code Here


    if (obj instanceof Exception) {
      connections.remove(ckey);
      throw (Exception)obj;
    }
   
    AbstractJmsReply reply = (AbstractJmsReply) obj;
    ctx.replyQueue.pop();
    if (reply instanceof CnxCloseReply)
      connections.remove(ckey);

    return reply.soapCode();
  }
View Full Code Here

    ConnectionManager.sendToProxy(proxyId, ctx.getKey(), request, request);
    sentCount++;
  }

  public AbstractJmsReply receive() throws Exception {
    AbstractJmsReply reply = (AbstractJmsReply) ctx.getQueue().get();
    ctx.getQueue().pop();
    receivedCount++;
    return reply;
  }
View Full Code Here

    params.addElement(new Parameter("name", String.class, identity.getUserName(), null));
    params.addElement(new Parameter("cnxId", int.class, new Integer(cnxId), null));   
    receiveCall.setParams(params);
   
    Response resp = null;
    AbstractJmsReply reply = null;
   
    try {
      resp = receiveCall.invoke(serviceUrl, "");
    } catch (SOAPException exc) {
      throw new IOException("The SOAP call failed: " + exc.getMessage());
View Full Code Here

    public void run() {
      try {
        loop:
        while (running) {
          canStop = true;
          AbstractJmsReply reply;
          try {
            reply = channel.receive();
          } catch (Exception exc) {
            if (logger.isLoggable(BasicLevel.DEBUG))
              logger.log(BasicLevel.DEBUG, "Exception during receive", exc);
View Full Code Here

TOP

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

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.