Class TransportOrderEventPropagator

java.lang.Object
org.openwms.tms.events.TransportOrderEventPropagator

@Profile("ASYNCHRONOUS") @Component class TransportOrderEventPropagator extends Object
A TransportOrderEventPropagator.
Author:
Heiko Scherrer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • amqpTemplate

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

      private final String exchangeName
    • mapper

      private final TransportOrderMapper mapper
  • Constructor Details

    • TransportOrderEventPropagator

      TransportOrderEventPropagator(org.springframework.amqp.core.AmqpTemplate amqpTemplate, @Value("${owms.events.tms.to.exchange-name}") String exchangeName, TransportOrderMapper mapper)
  • Method Details

    • onEvent

      @Measured @TransactionalEventListener(fallbackExecution=true) @Transactional(propagation=REQUIRES_NEW) public void onEvent(TransportServiceEvent event)