测试RabbitMQ

This commit is contained in:
Guoqs
2024-11-05 16:56:43 +08:00
parent 45a2920981
commit 1c3e228911
4 changed files with 29 additions and 0 deletions

View File

@@ -10,6 +10,9 @@ import org.springframework.stereotype.Service;
import java.io.IOException;
/**
* 监听RabbitMQ消息 订单
*/
@Slf4j
@Service
public class OrderRabbitListener {

View File

@@ -0,0 +1,10 @@
package com.jsowell.pile.dto;
import lombok.Data;
@Data
public class TestRabbitMQDTO {
private String exchange;
private String routingKey;
private String data;
}