Rework Mqtt Implementation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user