Class EventPropagator

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

@Profile("ASYNCHRONOUS") @Component public class EventPropagator extends Object
A EventPropagator is a Spring managed bean, activated in profile ASYNCHRONOUS that propagates internal events to the outer world via AMQP.
Author:
Heiko Scherrer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • amqpTemplate

      private final org.springframework.amqp.core.AmqpTemplate amqpTemplate
    • mapper

      private final ReceivingMOMapper mapper
    • receivingExchangeName

      private final String receivingExchangeName
  • Constructor Details

    • EventPropagator

      public EventPropagator(org.springframework.amqp.core.AmqpTemplate amqpTemplate, ReceivingMOMapper mapper, @Value("${owms.events.receiving.exchange-name}") String receivingExchangeName)
  • Method Details