Interface DebuggerCallback


  • public interface DebuggerCallback
    DebuggerCallback is an interface to implement in case a test wishes to be called immediately before and after invoking a processor by enabling and configuring automatically the debug mode.

    Only an outer class can implement this interface, implementing this interface from a @Nested test class has no effect.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void debugAfter​(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition, String id, String label, long timeTaken)
      Single step debugs and Camel invokes this method after processing the given processor
      void debugBefore​(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition, String id, String label)
      Single step debugs and Camel invokes this method before entering the given processor
    • Method Detail

      • debugBefore

        void debugBefore​(org.apache.camel.Exchange exchange,
                         org.apache.camel.Processor processor,
                         org.apache.camel.model.ProcessorDefinition<?> definition,
                         String id,
                         String label)
        Single step debugs and Camel invokes this method before entering the given processor
      • debugAfter

        void debugAfter​(org.apache.camel.Exchange exchange,
                        org.apache.camel.Processor processor,
                        org.apache.camel.model.ProcessorDefinition<?> definition,
                        String id,
                        String label,
                        long timeTaken)
        Single step debugs and Camel invokes this method after processing the given processor