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 <gearoid...@gmail.com> 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
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to