Package org.openwms.tms.commands
Class TransportOrderCommandHandler
java.lang.Object
org.openwms.tms.commands.TransportOrderCommandHandler
A TransportOrderCommandHandler.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TransportOrderMapper
private final TransportationService
private final jakarta.validation.Validator
-
Constructor Summary
ConstructorDescriptionTransportOrderCommandHandler
(TransportationService service, jakarta.validation.Validator validator, TransportOrderMapper mapper) -
Method Summary
-
Field Details
-
service
-
validator
private final jakarta.validation.Validator validator -
mapper
-
-
Constructor Details
-
TransportOrderCommandHandler
TransportOrderCommandHandler(TransportationService service, jakarta.validation.Validator validator, TransportOrderMapper mapper)
-
-
Method Details
-
receive
@Measured @RabbitListener(queues="${owms.commands.tms.to.queue-name}") void receive(@Payload TOCommand command) -
validate
-