Fabrizio Spataro created CAMEL-10195:
----------------------------------------

             Summary: 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


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:

{
  "id" : 100.0
}

TEST FAILURE

curl -X GET -H "Content-type: application/json" -H "Accept: 
application/json"localhost:8080/test/failure"

OUTPUT:

{id=100.0}

Best regards

FabryProg



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

Reply via email to