|
@@ -16,6 +16,7 @@ import java.util.Map;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
|
|
|
import com.smartsanitation.common.util.StringUtil;
|
|
|
import com.tidecloud.dataacceptance.entity.Advice;
|
|
@@ -35,6 +36,7 @@ import redis.clients.jedis.JedisPool;
|
|
|
* Created by vinson on 2017/9/7.
|
|
|
*/
|
|
|
@Sharable
|
|
|
+@Component
|
|
|
public class DiscardServerHandler extends ChannelInboundHandlerAdapter {
|
|
|
|
|
|
private String dataPath = "/home/service/collector_watch/rawdata/";
|