Class AmqpStartRequestForwarder

java.lang.Object
org.openwms.tms.impl.state.AmqpStartRequestForwarder
All Implemented Interfaces:
ExternalStarter

@Profile("ASYNCHRONOUS") @Component class AmqpStartRequestForwarder extends Object implements ExternalStarter
An AmqpStartRequestForwarder requests a remote service instance via an AMQP command whether a TransportOrder might be started or not.
Author:
Heiko Scherrer
  • Field Details

    • exchangeName

      private final String exchangeName
    • amqpTemplate

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

    • AmqpStartRequestForwarder

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

    • request

      @Measured public void request(String pKey)
      Request to start a TransportOrder.
      Specified by:
      request in interface ExternalStarter
      Parameters:
      pKey - The persistent key of the TransportOrder.