camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10195) rest-dsl - automatic binding failure with waitForTaskToComplete=Never
Date Fri, 29 Jul 2016 07:39:20 GMT

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

Claus Ibsen updated CAMEL-10195:
--------------------------------
    Priority: Minor  (was: Major)

> rest-dsl - automatic binding failure with waitForTaskToComplete=Never
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-10195
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10195
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.17.2
>            Reporter: Fabrizio Spataro
>            Priority: Minor
>         Attachments: camel-10154.zip
>
>
> Hello,
> Into my project i am using rest dsl.
> when insert into my seda waitForTaskToComplete=Never attribute, automatic binding (json)
is disabled!!!!
> I create a simple camel example (see attachment)
> To simulate it:
> 1. extract zip file
> 2. run "mvn clean camel:run"
> TEST SUCCESS
> curl -X GET -H "Content-type: application/json" -H "Accept: application/json"  localhost:8080/test/ok"
> OUTPUT (JSON):
> {
>   "id" : 100.0
> }
> TEST FAILURE
> curl -X GET -H "Content-type: application/json" -H "Accept: application/json"localhost:8080/test/failure"
> OUTPUT (HashMap.toString()):
> {id=100.0}
> Best regards
> FabryProg



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message