Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 27EA6200B50 for ; Fri, 29 Jul 2016 15:59:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 267B4160AA6; Fri, 29 Jul 2016 13:59:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 933BE160A6E for ; Fri, 29 Jul 2016 15:59:21 +0200 (CEST) Received: (qmail 32062 invoked by uid 500); 29 Jul 2016 13:59:20 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 32049 invoked by uid 99); 29 Jul 2016 13:59:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2016 13:59:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7FBEA2C029E for ; Fri, 29 Jul 2016 13:59:20 +0000 (UTC) Date: Fri, 29 Jul 2016 13:59:20 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-10195) rest-dsl - automatic binding failure with waitForTaskToComplete=Never MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 29 Jul 2016 13:59:22 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-10195. --------------------------------- Resolution: Fixed Thanks for reporting and the sample application. > 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 > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.17.3, 2.18.0 > > 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)