|
@@ -42,7 +42,7 @@ public class fbxToObjController {
|
|
|
public Result dataGetHandler(@PathVariable String resData) {
|
|
|
System.out.println(resData);
|
|
|
fbxToObjController.log.info("数据处理任务接收:{}", resData);
|
|
|
- rabbitTemplate.convertAndSend(TopicRabbitConfig.TOPICE, TopicRabbitConfig.MODEL_BIZ, resData.replace("-", ":;"));
|
|
|
+ rabbitTemplate.convertAndSend(TopicRabbitConfig.TOPICE, TopicRabbitConfig.MODEL_BIZ, resData.replaceAll("-", ":;"));
|
|
|
return Result.success("发送队列成功");
|
|
|
}
|
|
|
|
|
@@ -61,7 +61,7 @@ public class fbxToObjController {
|
|
|
System.out.println(resData);
|
|
|
fbxToObjController.log.info("数据处理任务接收:{}", resData);
|
|
|
rabbitTemplate.convertAndSend(TopicRabbitConfig.DELAY_EXCHANGE, TopicRabbitConfig.MVIEW,
|
|
|
- resData.replace("-", ":;"), message -> {
|
|
|
+ resData.replaceAll("+", ":;").replaceAll("@", "/"), message -> {
|
|
|
// 设置过期时间
|
|
|
message.getMessageProperties().setDelay(60000);
|
|
|
return message;
|