Skip to content

Commit 5127bbb

Browse files
committed
CAMEL-21958: camel-core: Java DSL. Fix endChoice() to reuse end() and scope to current/nearest choice.
1 parent 8ee79e1 commit 5127bbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java-lambda/src/main/java/org/apache/camel/example/java8/MyApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void configure() throws Exception {
5959
.when()
6060
.body(Objects::isNull)
6161
.log("Received null body")
62-
.endChoice();
62+
.end();
6363
}
6464

6565
private Long dateToTime(Exchange e) {

0 commit comments

Comments
 (0)