How to access to the response body through camel-jetty custom filter

Solution Unverified - Updated -

Issue

We are planning to use a camel-jetty custom filter to dump a response body.
It seems like HttpServletResponse in the doFilterWrapped() method does not contain any body object. How to access to the response body through camel-jetty custom filter?

Environment

  • Red Hat Fuse
    • 7.8
  • standalone spring boot

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content