| 
				
			 | 
			
			
				@@ -1,7 +1,5 @@ 
			 | 
		
	
		
			
			| 
				
					1
				
			 | 
			
				
					1
				
			 | 
			
			
				 package com.gct.tools.etlcamelhuge; 
			 | 
		
	
		
			
			| 
				
					2
				
			 | 
			
				
					2
				
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
					3
				
			 | 
			
				
			 | 
			
			
				-import com.gct.tools.etlcamelhuge.MQ.MessageProducer; 
			 | 
		
	
		
			
			| 
				
					4
				
			 | 
			
				
			 | 
			
			
				-import com.gct.tools.etlcamelhuge.entity.DiagnoseMsg; 
			 | 
		
	
		
			
			| 
				
					5
				
			 | 
			
				
					3
				
			 | 
			
			
				 import com.gct.tools.etlcamelhuge.routeconfig.CamelJDBCConfiguration; 
			 | 
		
	
		
			
			| 
				
					6
				
			 | 
			
				
					4
				
			 | 
			
			
				 import lombok.Data; 
			 | 
		
	
		
			
			| 
				
					7
				
			 | 
			
				
					5
				
			 | 
			
			
				 import org.junit.jupiter.api.Test; 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -10,7 +8,6 @@ import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
			| 
				
					10
				
			 | 
			
				
					8
				
			 | 
			
			
				 import org.springframework.boot.test.context.SpringBootTest; 
			 | 
		
	
		
			
			| 
				
					11
				
			 | 
			
				
					9
				
			 | 
			
			
				 import org.springframework.test.context.junit4.SpringRunner; 
			 | 
		
	
		
			
			| 
				
					12
				
			 | 
			
				
					10
				
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
					13
				
			 | 
			
				
			 | 
			
			
				-import javax.annotation.Resource; 
			 | 
		
	
		
			
			| 
				
					14
				
			 | 
			
				
					11
				
			 | 
			
			
				 import java.lang.reflect.Array; 
			 | 
		
	
		
			
			| 
				
					15
				
			 | 
			
				
					12
				
			 | 
			
			
				 import java.lang.reflect.InvocationTargetException; 
			 | 
		
	
		
			
			| 
				
					16
				
			 | 
			
				
					13
				
			 | 
			
			
				 import java.time.LocalDate; 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -20,7 +17,7 @@ import java.util.Arrays; 
			 | 
		
	
		
			
			| 
				
					20
				
			 | 
			
				
					17
				
			 | 
			
			
				 import java.util.List; 
			 | 
		
	
		
			
			| 
				
					21
				
			 | 
			
				
					18
				
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
					22
				
			 | 
			
				
					19
				
			 | 
			
			
				 @RunWith(SpringRunner.class) 
			 | 
		
	
		
			
			| 
				
					23
				
			 | 
			
				
			 | 
			
			
				-@SpringBootTest(classes = EtlCamelHugeApplication.class) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				
					20
				
			 | 
			
			
				+@SpringBootTest 
			 | 
		
	
		
			
			| 
				
					24
				
			 | 
			
				
					21
				
			 | 
			
			
				 class EtlCamelHugeApplicationTests { 
			 | 
		
	
		
			
			| 
				
					25
				
			 | 
			
				
					22
				
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
					26
				
			 | 
			
				
					23
				
			 | 
			
			
				    /* @Autowired 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -162,13 +159,6 @@ class EtlCamelHugeApplicationTests { 
			 | 
		
	
		
			
			| 
				
					162
				
			 | 
			
				
					159
				
			 | 
			
			
				     public static void main(String args[]) throws Exception { 
			 | 
		
	
		
			
			| 
				
					163
				
			 | 
			
				
					160
				
			 | 
			
			
				         System.out.println(LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); 
			 | 
		
	
		
			
			| 
				
					164
				
			 | 
			
				
					161
				
			 | 
			
			
				     } 
			 | 
		
	
		
			
			| 
				
					165
				
			 | 
			
				
			 | 
			
			
				-    @Resource(name = "diagnoseMessageProducer") 
			 | 
		
	
		
			
			| 
				
					166
				
			 | 
			
				
			 | 
			
			
				-    private MessageProducer producer; 
			 | 
		
	
		
			
			| 
				
					167
				
			 | 
			
				
					162
				
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
					168
				
			 | 
			
				
			 | 
			
			
				-    @Test 
			 | 
		
	
		
			
			| 
				
					169
				
			 | 
			
				
			 | 
			
			
				-    public void testProducer(){ 
			 | 
		
	
		
			
			| 
				
					170
				
			 | 
			
				
			 | 
			
			
				-        producer.send(new DiagnoseMsg("xx1","asdf","0","2225-12-12 12:12:56" 
			 | 
		
	
		
			
			| 
				
					171
				
			 | 
			
				
			 | 
			
			
				-                ,"123.,2,3,2,31.2.31.23.0","dfasdf",12,12)); 
			 | 
		
	
		
			
			| 
				
					172
				
			 | 
			
				
			 | 
			
			
				-    } 
			 | 
		
	
		
			
			| 
				
					173
				
			 | 
			
				
					163
				
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
					174
				
			 | 
			
				
					164
				
			 | 
			
			
				 } 
			 |