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

Tomohisa Igarashi reassigned CAMEL-19699:
-----------------------------------------

    Assignee: Tomohisa Igarashi  (was: Luca Burgazzoli)

> camel-yaml-dsl: schema: Express languages/dataformats are mutually exclusive 
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-19699
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19699
>             Project: Camel
>          Issue Type: Task
>          Components: camel-yaml-dsl
>            Reporter: Tomohisa Igarashi
>            Assignee: Tomohisa Igarashi
>            Priority: Major
>
> For example with dataformats, this is syntactically allowed
> {code:yaml}
> - from:
>     uri: "timer:test"
>     parameters:
>       period: 3000
>     steps:
>     - set-body:
>         simple: "Hello World"
>     - marshal:
>         json:
>           library: Jackson
>         jaxb:
>           contextPath: org.apache.camel.model
>     - to:
>         uri: "log:test"
> {code}
> Can we prohibit this through YAML DSL schema, possibly with `oneOf`?



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

Reply via email to