提交 | 用户 | 时间
|
191b3d
|
1 |
package com.iailab.module.data.mq.consumer; |
H |
2 |
|
|
3 |
import com.iailab.framework.mq.common.RoutingConstant; |
|
4 |
import com.iailab.module.data.video.dto.ImageDTO; |
|
5 |
import lombok.Data; |
|
6 |
|
|
7 |
import java.io.Serializable; |
|
8 |
|
|
9 |
@Data |
|
10 |
public class ImageMessage implements Serializable { |
|
11 |
|
|
12 |
//暂时取消queue,使用routing自动生成 |
|
13 |
// public static final String QUEUE = "topic.image"; |
|
14 |
|
|
15 |
public static final String EXCHANGE = "imageExchange"; |
|
16 |
|
|
17 |
public static final String ROUTING_KEY = RoutingConstant.Iailab_Data_Image; |
|
18 |
|
|
19 |
public static final String DAHUA_ROUTING_KEY = RoutingConstant.Iailab_Data_Image_Dahua; |
|
20 |
|
|
21 |
public static final String HIKVISION_ROUTING_KEY = RoutingConstant.Iailab_Data_Image_Hikvision; |
|
22 |
|
|
23 |
private String messageId; |
|
24 |
|
|
25 |
private String createTime; |
|
26 |
|
|
27 |
private ImageDTO imageDTO; |
|
28 |
|
|
29 |
@Override |
|
30 |
public String toString() { |
|
31 |
return "ImageMessage{" + |
|
32 |
"messageId='" + messageId + '\'' + |
|
33 |
", createTime='" + createTime + '\'' + |
|
34 |
", imageDTO=" + imageDTO + |
|
35 |
'}'; |
|
36 |
} |
|
37 |
} |