Class InventoryEventListener

java.lang.Object
org.openwms.wms.receiving.events.InventoryEventListener

@Profile("ASYNCHRONOUS") @Component public class InventoryEventListener extends Object
A InventoryEventListener is a Spring managed bean, active in profile ASYNCHRONOUS that listens for Product changes.
Author:
Heiko Scherrer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final org.slf4j.Logger
     
    private final org.ameba.mapping.BeanMapper
     
    private final org.springframework.context.ApplicationEventPublisher
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    InventoryEventListener(org.springframework.context.ApplicationEventPublisher publisher, org.ameba.mapping.BeanMapper mapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    handle(ProductMO msg, String header)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • publisher

      private final org.springframework.context.ApplicationEventPublisher publisher
    • mapper

      private final org.ameba.mapping.BeanMapper mapper
  • Constructor Details

    • InventoryEventListener

      public InventoryEventListener(org.springframework.context.ApplicationEventPublisher publisher, org.ameba.mapping.BeanMapper mapper)
  • Method Details

    • handle

      @Measured @RabbitListener(queues="${owms.events.inventory.products.queue-name}") void handle(ProductMO msg, @Header("owms_event_type") String header)