org.broadleafcommerce.cms.page.message.jms
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMSArchivedPagePublisher
public JMSArchivedPagePublisher()
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)
Copyright © 2012. All Rights Reserved.