Rework Mqtt Implementation

This commit is contained in:
2025-12-29 17:56:17 +01:00
parent b1bec24bc3
commit 6cdff81296
12 changed files with 231 additions and 59 deletions

View File

@@ -21,7 +21,7 @@ public class BrokerController {
this.service = service;
}
@PostMapping("/publish/{topic}")
/*@PostMapping("/publish/{topic}")
public ResponseEntity<ResponseBody<?>> publish(@PathVariable String topic, @RequestBody String message){
ResponseBody<?> body = ResponseBody.createEmpty();
try {
@@ -38,6 +38,6 @@ public class BrokerController {
.status(HttpStatus.INTERNAL_SERVER_ERROR)
.body(body);
}
}
}*/
}