Examples of CNSCachedEndpointPublishJob


Examples of com.comcast.cns.persistence.CNSCachedEndpointPublishJob

          }
         
          CNSEndpointPublishJob job;
         
          if (CMBProperties.getInstance().isCNSUseSubInfoCache()) {
              job = new CNSCachedEndpointPublishJob(message, epPublishJobSubscriptions);
          } else {
              job = new CNSEndpointPublishJob(message, epPublishJobSubscriptions);
          }
         
          epPublishJobs.add(job);
View Full Code Here

Examples of com.comcast.cns.persistence.CNSCachedEndpointPublishJob

    }
       
    @Test
    public void serializeDeserializeNoSubUsingCache() throws CMBException {
        CNSMessage p1 = CNSMessageTest.getMessage("test", null, "test", "test-arn", "test-pub-userId");
        CNSCachedEndpointPublishJob job = new CNSCachedEndpointPublishJob(p1, Collections.EMPTY_LIST);
       
        String str = job.serialize();
        logger.debug("serializedFOrm=" + str);
       
        CNSEndpointPublishJob rec = CNSCachedEndpointPublishJob.parseInstance(str);
        if (!job.equals(rec)) {
            fail("orig!=rec. orig=" + job + " rec=" + rec);
        }
    }
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.