Class HttpUpdateMessageHandler

java.lang.Object
org.openwms.common.comm.osip.upd.HttpUpdateMessageHandler
All Implemented Interfaces:
Function<org.springframework.messaging.support.GenericMessage<UpdateMessage>,Void>

@Profile("!ASYNCHRONOUS") @OSIPComponent @RefreshScope class HttpUpdateMessageHandler extends Object implements Function<org.springframework.messaging.support.GenericMessage<UpdateMessage>,Void>
A HttpUpdateMessageHandler forwards updates to the transportUnits services to the routing service.
Author:
Heiko Scherrer
  • Field Details Link icon

    • restTemplate Link icon

      private final org.springframework.web.client.RestTemplate restTemplate
    • routingServiceName Link icon

      private final String routingServiceName
    • routingServiceProtocol Link icon

      private final String routingServiceProtocol
    • routingServiceUsername Link icon

      private final String routingServiceUsername
    • routingServicePassword Link icon

      private final String routingServicePassword
  • Constructor Details Link icon

    • HttpUpdateMessageHandler Link icon

      HttpUpdateMessageHandler(org.springframework.web.client.RestTemplate restTemplate, @Value("${owms.driver.server.routing-service.name:routing-service}") String routingServiceName, @Value("${owms.driver.server.routing-service.protocol:http}") String routingServiceProtocol, @Value("${owms.driver.server.routing-service.username:user}") String routingServiceUsername, @Value("${owms.driver.server.routing-service.password:sa}") String routingServicePassword)
  • Method Details Link icon