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 2023/03/16 08:55:00 UTC

[jira] [Updated] (CAMEL-18944) REST YAML does not work in Spring Boot

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

Claus Ibsen updated CAMEL-18944:
--------------------------------
    Fix Version/s: 3.20.4
                       (was: 3.20.3)

> REST YAML does not work in Spring Boot
> --------------------------------------
>
>                 Key: CAMEL-18944
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18944
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-boot
>    Affects Versions: 3.20.1
>            Reporter: Marat Gubaidullin
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.20.4, 3.21.0, 4.0
>
>
> The following YAML fails when run with Spring Boot
> {code:java}
> - rest:
>     id: rest-dc6e
>     post:
>       - id: post-248c
>         consumes: application/json
>         produces: application/json
>         to: direct:demo
> - route:
>     id: demo
>     from:
>       uri: direct:demo
>       id: from-e15c
>       steps:
>         - log:
>             message: ${body}
>             id: log-a55d
> {code}
> command to call service
> {code:java}
> curl -X POST -H "Content-Type: application/json" --data '{"id":"666","address":"666 Sin Street, Holy City"}' http://0.0.0.0:8080
> {code}
> REST Configuration component does not change anything



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