Package com.dotcms.publisher.receiver

Examples of com.dotcms.publisher.receiver.BundlePublisher


      //Configure and Invoke the Publisher
      Logger.info(PublishThread.class, "Started bundle publish process");
    PushPublishLogger.log(PublishThread.class, "Started bundle publish process", bundleName);

    PublisherConfig pconf = new PublisherConfig();
    BundlePublisher bundlePublisher = new BundlePublisher();
    pconf.setId(bundleName);
    pconf.setEndpoint(endpointId);
    pconf.setGroupId(groupId);
    try {
      bundlePublisher.init(pconf);
      bundlePublisher.process(null);
    } catch (DotPublishingException e) {
      Logger.error("Failed to publish because an error occurred: ", e.getMessage());
    }

    PushPublishLogger.log(PublishThread.class, "Finished bundle publish process", bundleName);
View Full Code Here

TOP

Related Classes of com.dotcms.publisher.receiver.BundlePublisher

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.