Class BatchRequestMessageFactory

java.lang.Object
com.broadleafcommerce.dataimport.messaging.BatchRequestMessageFactory
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.MessageFactory<com.broadleafcommerce.common.dataimport.messaging.BatchRequest>

public class BatchRequestMessageFactory extends Object implements com.broadleafcommerce.common.messaging.notification.MessageFactory<com.broadleafcommerce.common.dataimport.messaging.BatchRequest>
Creates a BatchRequest for a Batch to be published across a message channel
Author:
Phillip Verheyden (phillipuniverse)
  • Constructor Details

    • BatchRequestMessageFactory

      public BatchRequestMessageFactory(com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapper)
  • Method Details

    • setImportService

      @Autowired @Lazy public void setImportService(ImportService<Import> importService)
    • createMessage

      public org.springframework.messaging.Message<com.broadleafcommerce.common.dataimport.messaging.BatchRequest> createMessage(Object entity)
      Specified by:
      createMessage in interface com.broadleafcommerce.common.messaging.notification.MessageFactory<com.broadleafcommerce.common.dataimport.messaging.BatchRequest>