camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sohrab Hosseini (JIRA)" <>
Subject [jira] [Created] (CAMEL-7880) Cannot use custom DataFormats in REST DSL
Date Mon, 29 Sep 2014 20:30:33 GMT
Sohrab Hosseini created CAMEL-7880:

             Summary: Cannot use custom DataFormats in REST DSL
                 Key: CAMEL-7880
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.14.0
            Reporter: Sohrab Hosseini


When using custom JSON data format in REST DSL, the service incorrectly rejects messages with
request structure and accepts messages with response structure.

This is due to {{}}
looking up and configuring the same DataFormat object twice:

DataFormat json = context.resolveDataFormat(name); 
DataFormat outJson = context.resolveDataFormat(name); 

This message was sent by Atlassian JIRA

View raw message