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 2016/07/29 07:33:20 UTC
[jira] [Updated] (CAMEL-10195) rest-dsl - automatic binding failure
with waitForTaskToComplete=Never
[ https://issues.apache.org/jira/browse/CAMEL-10195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-10195:
--------------------------------
Summary: rest-dsl - automatic binding failure with waitForTaskToComplete=Never (was: automatic binding failure with waitForTaskToComplete=Never)
> 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
> 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)