How do I debug my route?

If you’ve created a route and its not doing what you think it is you could try using one of these features from version 1.4 onwards:

  • Tracer to trace in commons-logging / log4j each step that Camel takes

  • Debugger to let you set breakpoints at points in the route and examine historic message exchanges

  • Debug from your unit test if you use the Camel camel-test component

Some third party tools offer Apache Camel route debugging.