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 Summary
ConstructorDescriptionBatchRequestMessageFactory
(com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapper) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.Message<com.broadleafcommerce.common.dataimport.messaging.BatchRequest>
createMessage
(Object entity) void
setImportService
(ImportService<Import> importService) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.MessageFactory
createMessage
-
Constructor Details
-
BatchRequestMessageFactory
public BatchRequestMessageFactory(com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapper)
-
-
Method Details
-
setImportService
-
createMessage
public org.springframework.messaging.Message<com.broadleafcommerce.common.dataimport.messaging.BatchRequest> createMessage(Object entity) - Specified by:
createMessage
in interfacecom.broadleafcommerce.common.messaging.notification.MessageFactory<com.broadleafcommerce.common.dataimport.messaging.BatchRequest>
-