Class JMSArchivedPagePublisher

java.lang.Object
org.broadleafcommerce.cms.page.message.jms.JMSArchivedPagePublisher
All Implemented Interfaces:
ArchivedPagePublisher

public class JMSArchivedPagePublisher extends Object implements ArchivedPagePublisher
JMS implementation of ArchivedPagePublisher. Intended usage is to notify other VMs that a pageDTO needs to be evicted from cache. This occurs when the page is marked as archived - typically because a replacemet page has been promoted to production. Utilizes Spring JMS template pattern where template and destination are configured via Spring. Created by bpolster.
  • Constructor Details

    • JMSArchivedPagePublisher

      public JMSArchivedPagePublisher()
  • Method Details

    • processPageArchive

      public void processPageArchive(Page page, String basePageKey)
      Specified by:
      processPageArchive in interface ArchivedPagePublisher
    • getArchivePageTemplate

      public org.springframework.jms.core.JmsTemplate getArchivePageTemplate()
    • setArchivePageTemplate

      public void setArchivePageTemplate(org.springframework.jms.core.JmsTemplate archivePageTemplate)
    • getArchivePageDestination

      public javax.jms.Destination getArchivePageDestination()
    • setArchivePageDestination

      public void setArchivePageDestination(javax.jms.Destination archivePageDestination)