camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Are there simple instructions on how to debug camel routes with Intellj
Date Fri, 02 Mar 2018 14:37:00 GMT

That is not as simple. A good way is to add inlined processors and set
your breakpoints in there, then the regular Java debugger can stop

There is a EIP / GUI debugger that comes with the Camel Fuse tools for
Eclipse, and also in the hawtio web console.

But for IDEA there is nothing of such things.

There is a ticket about adding a debugger in the Camel IDEA plugin

However its not easy work to do, but hopefully we get some time to
look at this (we have to do this in our spare time, which is ... rare
and spare).

But Camel has a JMX debugger API that is what Eclipse and hawtio uses,
so those hooks are there for the IDEA plugin to use. But its how to
make the IDEA debugger "fool" so you can set breakpoints in the Camel
route and have it to suspend/resume at those breakpoints that is the
tricky party. And also that the IDEA API is a huge and complex.

On Thu, Mar 1, 2018 at 6:40 PM, garret taylor <> wrote:
> Can anyone point to simple instructions on how to interactively debug
> camel routes with IntelliJ - say  with the examples from Camel in
> Action without necessarily setting them up as tests.
> Thanks
> Gearoid

Claus Ibsen
----------------- @davsclaus
Camel in Action 2:

View raw message