Interface OutboundSyncService
- All Known Implementing Classes:
DefaultOutboundSyncService
public interface OutboundSyncService
Service Activator interface that handles synchronization of Item changes detected and placed in a spring integration channel.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsync(Collection<OutboundItemDTO> outboundItemDTOs) Consumes a DTO with the item changed information and handles the message based on the change type.default voidsyncBatch(Collection<OutboundItemDTOGroup> outboundItemDTOGroups) Consumes all DTOs and handles the message for each item based on the change type.
-
Method Details
-
sync
Consumes a DTO with the item changed information and handles the message based on the change type.- Parameters:
outboundItemDTOs- A collection of DTOs with the information about the changes in the item.
-
syncBatch
Consumes all DTOs and handles the message for each item based on the change type.- Parameters:
outboundItemDTOGroups- An entity holding information about the changed items for a single batch request
-