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 Type
    Method
    Description
    void
    sync(Collection<OutboundItemDTO> outboundItemDTOs)
    Consumes a DTO with the item changed information and handles the message based on the change type.
    default void
    syncBatch(Collection<OutboundItemDTOGroup> outboundItemDTOGroups)
    Consumes all DTOs and handles the message for each item based on the change type.
  • Method Details

    • sync

      void sync(Collection<OutboundItemDTO> outboundItemDTOs)
      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

      default void syncBatch(Collection<OutboundItemDTOGroup> outboundItemDTOGroups)
      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