Class FeignAllocator

java.lang.Object
org.openwms.wms.shipping.spi.FeignAllocator
All Implemented Interfaces:
Allocator

@Profile("DISTRIBUTED") @Component public class FeignAllocator extends Object implements Allocator
A FeignAllocator uses an external API to search for available products.
Author:
Heiko Scherrer
  • Field Details

  • Constructor Details

  • Method Details

    • allocate

      @Measured public List<AllocatedTransportUnit> allocate(String sku, org.openwms.core.units.api.Measurable quantity, List<String> sourceLocationGroupNames)
      Allocate a product with the sku in the given quantity.
      Specified by:
      allocate in interface Allocator
      Parameters:
      sku - The Product's SKU
      quantity - The demanded quantity
      Returns:
      A list of available TransportUnits to allocate