Class TransportUnitMessageListener

java.lang.Object
org.openwms.wms.receiving.transport.event.TransportUnitMessageListener

@Profile("ASYNCHRONOUS") @Component class TransportUnitMessageListener extends Object
A TransportUnitMessageListener is a Spring managed RabbiMQ event listener that is interested in changes on TransportUnits.
Author:
Heiko Scherrer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • service

      private final TransportUnitService service
    • mapper

      private final org.ameba.mapping.BeanMapper mapper
    • validator

      private final javax.validation.Validator validator
  • Constructor Details

    • TransportUnitMessageListener

      TransportUnitMessageListener(TransportUnitService service, org.ameba.mapping.BeanMapper mapper, javax.validation.Validator validator)
  • Method Details

    • handle

      @Measured @RabbitListener(queues="${owms.events.common.tu.queue-name}") public void handle(@Payload TransportUnitMO mo, @Header("amqp_receivedRoutingKey") String routingKey)