mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 12:05:05 +08:00
测试RabbitMQ
This commit is contained in:
@@ -10,6 +10,9 @@ import org.springframework.stereotype.Service;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* 监听RabbitMQ消息 订单
|
||||
*/
|
||||
@Slf4j
|
||||
@Service
|
||||
public class OrderRabbitListener {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user