Camelry icon indicating copy to clipboard operation
Camelry copied to clipboard

Enabling Breakpoints in Camel Routes (Java DSL)

Open syr opened this issue 11 years ago • 2 comments

Hi, would it be possible to enable a highly missed feature in camel debugging?

That is (imho): debugging camel routes line by line (setting breakpoints and stepping as usual in java code) where one can investigate exchange contents in any step etc.

I got that idea when I discovered the camel debugger methods (http://camel.apache.org/debugger.html)

They essentially show exchange contents for each route step (before and after). So I presume it should be achievable to implement breakpoints inside java-dsl-camel routes?

What do you think?

syr avatar Oct 20 '13 18:10 syr

Hi there,

Thanks for the great idea! I think this would definitely be a very powerful feature to add to the IDE, although perhaps a bit tricky

On a related note, James Strachan has done a great job of adding live debugging routes to the hawtio console here hawtio/hawtio/issues/55 - be sure to check that out if you haven't already :)

Cheers, Alan

AlanFoster avatar Oct 20 '13 19:10 AlanFoster

I looked at hawtio deployed to a jboss eap 6.1 (7.2.0) but only get an exception when I want to open a diagram for a specific route. (see https://github.com/hawtio/hawtio/issues/664)

Btw. it looks like hawtio hasn't a step debugger (as far as I can see / get) ?

regards Chris

syr avatar Oct 22 '13 14:10 syr