Skip to content

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

Open
@Nithinu2018

Description

@Nithinu2018

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions