|  | @ -20,6 +20,15 @@ public class SignProcessor implements Processor {
 | 
	
		
			
				|  |  |     public void process(Exchange exchange) throws Exception {
 | 
	
		
			
				|  |  |         Message outMessage = exchange.getOut();
 | 
	
		
			
				|  |  |         Message inMessage = exchange.getIn();
 | 
	
		
			
				|  |  |         String camelHttpMethod = inMessage.getHeader("CamelHttpMethod").toString();
 | 
	
		
			
				|  |  |         if (!"POST".equals(camelHttpMethod)){
 | 
	
		
			
				|  |  |             outMessage.setBody("请求类型必须为POST");
 | 
	
		
			
				|  |  |             return;
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (inMessage.getHeaders().get("appKey")==null){
 | 
	
		
			
				|  |  |             outMessage.setBody("appKey不能为空");
 | 
	
		
			
				|  |  |             return;
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         String appKey = inMessage.getHeaders().get("appKey").toString();
 | 
	
		
			
				|  |  |         String secret = getSecret(appKey);
 | 
	
		
			
				|  |  |         if (StringUtil.isEmpty(secret)){
 |