Class LocationCommandSender

java.lang.Object
org.openwms.wms.location.commands.LocationCommandSender

@Profile("ASYNCHRONOUS") @Component public class LocationCommandSender extends Object
A LocationCommandSender sends out commands to request the modification of Locations.
Author:
Heiko Scherrer
  • Field Details

    • exchangeName

      private final String exchangeName
    • amqpTemplate

      private final org.springframework.amqp.core.AmqpTemplate amqpTemplate
  • Constructor Details

    • LocationCommandSender

      public LocationCommandSender(@Value("${owms.commands.common.loc.exchange-name}") String exchangeName, org.springframework.amqp.core.AmqpTemplate amqpTemplate)
  • Method Details

    • onLocationCommand

      @TransactionalEventListener public void onLocationCommand(LocationCommand command)