You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/03 11:21:00 UTC

[jira] [Comment Edited] (CAMEL-17287) YAML DSL Definitions required missing

    [ https://issues.apache.org/jira/browse/CAMEL-17287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599893#comment-17599893 ] 

Claus Ibsen edited comment on CAMEL-17287 at 9/3/22 11:20 AM:
--------------------------------------------------------------

For bean then its because you can either use ref or bean-type to specify what bean to use (ref = id to lookup, bean-type = FQN class name) - and that you need to set one of them, but we dont have a way to represent this in the model


was (Author: davsclaus):
For bean then its because you can either use ref or bean-type to specify what bean to use (ref = id to lookup, bean-type = FQN class name)

> YAML DSL Definitions required missing
> -------------------------------------
>
>                 Key: CAMEL-17287
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17287
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-yaml-dsl
>            Reporter: Marat Gubaidullin
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.19.0
>
>
> Following definitions are defined as oneOf *string* or *object* but there is no required property to map string to object property.
> org.apache.camel.model.BeanDefinition
> org.apache.camel.model.InterceptFromDefinition
> org.apache.camel.model.RollbackDefinition
> org.apache.camel.model.RoutingSlipDefinition



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