Commit a6395665 authored by yanzg's avatar yanzg

将源码打包进jar包

parent e9d8c43d
......@@ -39,8 +39,8 @@ public class AspectMq {
/**
* exec aop point aspect
*/
// @Pointcut("execution(* *..mq..*Consumer.*(..))")
@Pointcut("execution(* org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.onMessage(..))")
@Pointcut("execution(* *..mq..*Consumer.*(..))")
// @Pointcut("execution(* org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter.onMessage(..))")
public void mqAspect() {
}
......@@ -60,12 +60,11 @@ public class AspectMq {
logService.logCurrent(message);
String url = aspectLogUrl.getMessageUrl(joinPoint, message);
String requestBody = aspectLogBody.getRequestBody(message);
LogVo log = new LogVo();
boolean clear = aspectLogStart.requestLogInit();
aspectLogStart.requestLog(declaringType, TAG, url, requestBody, log, clear);
long start = System.currentTimeMillis();
Object result = null;
Exception ex = null;
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment