|
@@ -1,48 +1,24 @@
|
|
|
package org.jeecg.modules.api.imf;
|
|
|
|
|
|
-import com.fasterxml.jackson.core.JsonProcessingException;
|
|
|
-import com.fasterxml.jackson.databind.DeserializationFeature;
|
|
|
-import com.fasterxml.jackson.databind.MapperFeature;
|
|
|
-import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
import com.google.common.base.Strings;
|
|
|
import com.rabbitmq.client.Channel;
|
|
|
-import lombok.SneakyThrows;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.jeecg.boot.starter.rabbitmq.client.RabbitMqClient;
|
|
|
import org.jeecg.boot.starter.rabbitmq.core.BaseRabbiMqHandler;
|
|
|
import org.jeecg.boot.starter.rabbitmq.listenter.MqListener;
|
|
|
import org.jeecg.common.annotation.RabbitComponent;
|
|
|
import org.jeecg.common.base.BaseMap;
|
|
|
-import org.jeecg.common.util.SpringContextUtils;
|
|
|
-import org.jeecg.modules.admin_dfdl_list.entity.AdminDfdlList;
|
|
|
import org.jeecg.modules.api.imf.msg.ImfMsg;
|
|
|
import org.jeecg.modules.api.imf.msg.ImfMsgUtil;
|
|
|
-import org.jeecg.modules.utils.ConversionUtil;
|
|
|
import org.springframework.amqp.core.Message;
|
|
|
import org.springframework.amqp.rabbit.annotation.RabbitListener;
|
|
|
import org.springframework.amqp.support.AmqpHeaders;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
-import org.springframework.context.ApplicationContext;
|
|
|
import org.springframework.context.annotation.Profile;
|
|
|
import org.springframework.messaging.handler.annotation.Header;
|
|
|
-import org.w3c.dom.Document;
|
|
|
-import org.w3c.dom.Node;
|
|
|
-import org.w3c.dom.NodeList;
|
|
|
-import org.xml.sax.InputSource;
|
|
|
-import org.xml.sax.SAXException;
|
|
|
-
|
|
|
-import javax.xml.parsers.DocumentBuilderFactory;
|
|
|
-import javax.xml.parsers.ParserConfigurationException;
|
|
|
-import javax.xml.xpath.*;
|
|
|
-import java.io.FileNotFoundException;
|
|
|
-import java.io.IOException;
|
|
|
-import java.io.StringReader;
|
|
|
+
|
|
|
import java.nio.charset.StandardCharsets;
|
|
|
-import java.time.LocalDateTime;
|
|
|
-import java.time.ZoneId;
|
|
|
-import java.time.format.DateTimeFormatter;
|
|
|
-import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* @author 王葆权
|