hawtio-integration icon indicating copy to clipboard operation
hawtio-integration copied to clipboard

Apache Camel and hawt.io debugging: Body/Header not visible at breakpoint

Open Nithinu2018 opened this issue 2 months ago • 3 comments

I'm currently working with Apache Camel and hawt.io for monitoring and debugging my Camel routes. This works wonderfully, even if some important information is somewhat hidden in the documentation. For example, it took me a bit to turn on debugging.

However, if I set a breakpoint where the message processing stops at that point in the route, I can't see any "body" or "headers" of my Camel exchange at that point. I've tried all sorts of settings:

Here is some information: Apache Camel: 3.22.1 Spring boot: 2.7.18 Jolokai Core: 1.7.2 hawt.io: 2.16.0 Camel DSL: XML

I got one workaround for java DSL: getContext().setDebugging(true); in one of the page but I don't know where to add this line in camel XML Route Template file.

Here are the properties of my spring boot application.properties: management.endpoints.web.exposure.include=hawtio,jolokia management.endpoints.web.base-path=/ camel.springboot.backlog-tracing=true spring.jmx.enabled=true

Please suggest any workaround for this issue.

Nithinu2018 avatar Apr 22 '24 07:04 Nithinu2018