|  | @ -7,6 +7,8 @@ import com.yihu.hos.core.http.HTTPResponse;
 | 
	
		
			
				|  |  | import com.yihu.hos.core.http.HttpClientKit;
 | 
	
		
			
				|  |  | import com.yihu.hos.web.framework.constant.ServiceFlowConstant;
 | 
	
		
			
				|  |  | import com.yihu.hos.web.framework.model.bo.ServiceFlow;
 | 
	
		
			
				|  |  | import org.apache.camel.Body;
 | 
	
		
			
				|  |  | import org.apache.camel.Headers;
 | 
	
		
			
				|  |  | import org.apache.log4j.LogManager;
 | 
	
		
			
				|  |  | import org.apache.log4j.Logger;
 | 
	
		
			
				|  |  | import org.springframework.beans.factory.annotation.Autowired;
 | 
	
	
		
			
				|  | @ -17,6 +19,7 @@ import org.springframework.data.mongodb.core.query.Update;
 | 
	
		
			
				|  |  | import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import java.io.IOException;
 | 
	
		
			
				|  |  | import java.util.HashMap;
 | 
	
		
			
				|  |  | import java.util.List;
 | 
	
		
			
				|  |  | import java.util.Map;
 | 
	
		
			
				|  |  | 
 | 
	
	
		
			
				|  | @ -341,10 +344,13 @@ public class ServiceFlowService {
 | 
	
		
			
				|  |  |      * @param header 消息头部信息
 | 
	
		
			
				|  |  |      * @param msg    消息
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public void proxy(Map<String, String> header, String msg) {
 | 
	
		
			
				|  |  |     public void proxy(@Headers Map<String, String> header, @Body String msg) {
 | 
	
		
			
				|  |  |         String tenant = header.get("tenant");
 | 
	
		
			
				|  |  |         String event = header.get("event");
 | 
	
		
			
				|  |  |         ArbiterServer arbiterServer = arbiterServerService.get(tenant);
 | 
	
		
			
				|  |  |         header.remove("tenant");
 | 
	
		
			
				|  |  |         header = new HashMap<>();
 | 
	
		
			
				|  |  |         header.put("event",event);
 | 
	
		
			
				|  |  |         HttpClientKit.post(arbiterServer.getUrl() + "/proxy", msg, header);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 |