0

How can I see the original HTTP incoming request when using http inbound gateway?

I want to see the original HTTP headers before the mapping performed by mappedRequestHeaders(String pattern...).

Thanks!

italktothewind
  • 1,950
  • 2
  • 28
  • 55
  • 1
    Have you tried changing the logger level of spring web? – Horsing Apr 05 '23 at 23:00
  • I didn't know it was the same logger than Spring Web. I used this https://www.baeldung.com/spring-http-logging and worked, thanks! – italktothewind Apr 05 '23 at 23:22
  • 1
    Yes. Spring Integration HTTP module is fully based on Spring MVC and whatever you can configure on the server side will be applied for those Integration endpoints. – Artem Bilan Apr 06 '23 at 13:57

1 Answers1

1

As @Horsing and @Artem Billan pointed in the comments, Spring Integration HTTP module is fully based on Spring MVC so these kind of solutions will work.

italktothewind
  • 1,950
  • 2
  • 28
  • 55