Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot springboot中apachecamel请求和响应的全局日志记录方法_Spring Boot_Spring Mvc_Apache Camel - Fatal编程技术网

Spring boot springboot中apachecamel请求和响应的全局日志记录方法

Spring boot springboot中apachecamel请求和响应的全局日志记录方法,spring-boot,spring-mvc,apache-camel,Spring Boot,Spring Mvc,Apache Camel,我想用ApacheCamel和SpringBoot以全局方式记录所有http请求和响应。 我试过下面这门课。我捕获了所有http请求。但是,无法记录响应。有没有办法在ApacheCamel中全局记录所有http响应 public class HttpLoggingFilter extends OncePerRequestFilter { ... bla bla. ... 提前谢谢

我想用ApacheCamel和SpringBoot以全局方式记录所有http请求和响应。 我试过下面这门课。我捕获了所有http请求。但是,无法记录响应。有没有办法在ApacheCamel中全局记录所有http响应

public class HttpLoggingFilter extends OncePerRequestFilter {
... bla bla. ...
提前谢谢