Skip to content

Commit 8d49de0

Browse files
authored
Fixed content based routing choice rules. (#280)
* Fixed cbr choice rules. * Removed double values.
1 parent 3fc02d5 commit 8d49de0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

advanced/camel-k/eip/fruits-processor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
name: fruit-sugar-level
3333
constant: low
3434
- to: "log:low?showAll=true&multiline=true"
35-
- simple: "${body[nutritions][sugar]} > 5 || ${body[nutritions][sugar]} <= 10"
35+
- simple: "${body[nutritions][sugar]} > 5 && ${body[nutritions][sugar]} <= 10"
3636
steps:
3737
- remove-headers: "*"
3838
- marshal:

documentation/modules/advanced/pages/camel-k-cbr.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ spec:
242242
name: fruit-sugar-level
243243
constant: low
244244
- to: "log:low?showAll=true&multiline=true"
245-
- simple: "${body[nutritions][sugar]} > 5 || ${body[nutritions][sugar]} <= 10"
245+
- simple: "${body[nutritions][sugar]} > 5 && ${body[nutritions][sugar]} <= 10"
246246
steps:
247247
- remove-headers: "*"
248248
- marshal:

0 commit comments

Comments
 (0)