Class LocationMessageListener

java.lang.Object
org.openwms.tms.routing.app.LocationMessageListener

@Profile("ASYNCHRONOUS") @Component @RabbitListener(queues="${owms.events.common.loc.queue-name}") class LocationMessageListener extends Object
A LocationMessageListener listens on changes on entities managed on foreign services.
Author:
Heiko Scherrer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • janitor

      private final CacheJanitor janitor
    • locationService

      private final LocationService locationService
  • Constructor Details

  • Method Details

    • onLocationEvent

      @Measured @RabbitHandler public void onLocationEvent(@Payload org.openwms.common.location.api.messages.LocationMO obj, @Header("amqp_receivedRoutingKey") String routingKey)
      Listens on Location messages.
    • onLocationEvent

      @Measured @RabbitHandler public void onLocationEvent(@Payload org.openwms.common.location.api.commands.RevokeLocationRemoveCommand obj, @Header("amqp_receivedRoutingKey") String routingKey)
      Listens on Location messages.