package com.iailab.module.data.mq.consumer; import com.iailab.framework.mq.common.RoutingConstant; import com.iailab.module.data.video.dto.ImageDTO; import lombok.Data; import java.io.Serializable; @Data public class ImageMessage implements Serializable { //暂时取消queue,使用routing自动生成 // public static final String QUEUE = "topic.image"; public static final String EXCHANGE = "imageExchange"; public static final String ROUTING_KEY = RoutingConstant.Iailab_Data_Image; public static final String DAHUA_ROUTING_KEY = RoutingConstant.Iailab_Data_Image_Dahua; public static final String HIKVISION_ROUTING_KEY = RoutingConstant.Iailab_Data_Image_Hikvision; private String messageId; private String createTime; private ImageDTO imageDTO; @Override public String toString() { return "ImageMessage{" + "messageId='" + messageId + '\'' + ", createTime='" + createTime + '\'' + ", imageDTO=" + imageDTO + '}'; } }