Examples of PublicationQueueBean


Examples of org.infoglue.deliver.util.ioqueue.PublicationQueueBean

          {
            NotificationMessage notificationMessage = new NotificationMessage("Publishing notification failed", "Publication", "SYSTEM", NotificationMessage.LIVE_NOTIFICATION_QUEUED, "" + publicMessage.get("0.objectId"), "" + deliverUrl);
            TransactionHistoryController.getController().create(notificationMessage);

            logger.error("Error updating cache at " + address + ":" + e.getMessage() + ". Adding it to the queue-thread.");
            PublicationQueueBean pqb = new PublicationQueueBean();
            pqb.setUrlAddress(address);
            pqb.setRequestParameters(publicMessage);
            pqb.setSerializedParameters(toEncodedString(publicMessage));
            PublicationQueue.getPublicationQueue().addPublicationQueueBean(deliverUrl, pqb);
          }
        }
      }
      }
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.