Examples of SCAppendMessage


Examples of org.serviceconnector.api.SCAppendMessage

      }
    }

    // publish 1 10MB appendix
    public void publish10MBAppendix(SCMessage request, int operationTimeoutMillis) {
      SCAppendMessage pubMessage = new SCAppendMessage();
      pubMessage.setCacheId((String) request.getData());
      try {
        String largeString = TestUtil.get10MBString();
        pubMessage.setMask(TestConstants.maskSrv);
        pubMessage.setData("0:" + largeString);
        this.publishSrv.publish(pubMessage);
      } catch (Exception e) {
        LOGGER.error("cannot publish", e);
      }
    }
View Full Code Here

Examples of org.serviceconnector.api.SCAppendMessage

      }
    }

    // publish 1 50MB appendix
    public void publish50MBAppendix(SCMessage request, int operationTimeoutMillis) {
      SCAppendMessage pubMessage = new SCAppendMessage();
      pubMessage.setCacheId((String) request.getData());
      try {
        String largeString = TestUtil.get50MBString();
        pubMessage.setMask(TestConstants.maskSrv);
        pubMessage.setData("0:" + largeString);
        this.publishSrv.publish(pubMessage);
      } catch (Exception e) {
        LOGGER.error("cannot publish", e);
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.