-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed test-framework/junit5 + generated changes
- Loading branch information
1 parent
21e3f98
commit eaac76a
Showing
10 changed files
with
50 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,4 @@ metadata: | |
- "integration" | ||
status: | ||
- "stable" | ||
- "deprecated" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...nit5/src/test/java/org/apache/camel/quarkus/test/junit5/patterns/TestDebugBreakpoint.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package org.apache.camel.quarkus.test.junit5.patterns; | ||
|
||
import org.apache.camel.Exchange; | ||
import org.apache.camel.Processor; | ||
import org.apache.camel.model.ProcessorDefinition; | ||
import org.apache.camel.test.junit5.DebugBreakpoint; | ||
import org.slf4j.Logger; | ||
import org.slf4j.LoggerFactory; | ||
|
||
public class TestDebugBreakpoint extends DebugBreakpoint { | ||
private static final Logger LOG = LoggerFactory.getLogger(TestDebugBreakpoint.class); | ||
|
||
@Override | ||
protected void debugBefore( | ||
Exchange exchange, Processor processor, ProcessorDefinition<?> definition, String id, String label) { | ||
// this method is invoked before we are about to enter the given | ||
// processor | ||
// from your Java editor you can add a breakpoint in the code line | ||
// below | ||
LOG.info("Before {} with body {}", definition, exchange.getIn().getBody()); | ||
} | ||
|
||
@Override | ||
protected void debugAfter( | ||
Exchange exchange, Processor processor, ProcessorDefinition<?> definition, String id, String label, | ||
long timeTaken) { | ||
|
||
} | ||
} |