blob: 200e09872e8dc89e3d77e6b76bc3fb56e90e391c [file] [log] [blame]
- from:
uri: netty-http
parameters:
protocol: http
host: localhost
port: 8080
path: demo
steps:
- convertBodyTo:
type: String
- unmarshal:
json: {}
- choice:
when:
- expression:
simple: ${body[amount]} < 1000
steps:
- log:
message: 'WHEN: ${body}'
logging-level: INFO
log-name: when
otherwise:
steps:
- log:
log-name: otherwise
logging-level: INFO
message: 'OTHERWISE: ${body}'
- from:
uri: kamelet:aws-kinesis-source