[ 
https://issues.apache.org/jira/browse/CAMEL-20424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-20424.
--------------------------------------
    Resolution: Won't Fix

> YAML DSL: Split doesn't seem to be correctly interpreted 
> ---------------------------------------------------------
>
>                 Key: CAMEL-20424
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20424
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Andrea Cosentino
>            Priority: Major
>
> Suppose you have something like
> {code:java}
> - route:
>     id: "kafka-to-log"
>     from:
>       uri: "kamelet:kafka-batch-not-secured-source"
>       parameters:
>         bootstrapServers: "localhost:9092"
>         topic: "test-topic"
>         consumerGroup: 'my-group'
>         batchSize: 10
>         pollTimeout: 40000
>         maxPollIntervalMs: 60000
>         autoCommitEnable: false
>         allowManualCommit: true
>       steps:
>         - split: {}
>             steps:
>               - to: "kamelet:log-sink"        
>         - to:
>             uri: "kamelet:kafka-batch-manual-commit-action"
> {code}
> This seems to be correct from a syntax perspective, but it will fail with:
> {code:java}
> Unsupported field: body
>  in file:kafka-batch-log.yaml, line 40, column 19:
>                 body: {}
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to