Package org.openwms.common.comm.osip.res
Class ResponseMessageController
java.lang.Object
org.openwms.common.comm.osip.res.ResponseMessageController
A ResponseMessageController exposes an endpoint to send OSIP RES telegrams.
The endpoint is only active if NOT
SpringProfiles.ASYNCHRONOUS_PROFILE
is active.- Author:
- Heiko Scherrer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
handler
-
-
Constructor Details
-
ResponseMessageController
ResponseMessageController(ResponseMessageHandler handler)
-
-
Method Details
-
handleRes
@PostMapping("/res") @ResponseStatus(NO_CONTENT) public void handleRes(@RequestBody ResponseMessage response, @RequestHeader("osip_receiver") String receiver)
-