Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15103

Incorrect default value for JSON JACKSON DATAFORMAT's contentTypeHeader option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • fuse-7.9-GA
    • fuse-7.7-GA
    • Camel
    • None
    • False
    • False
    • % %
    • Undefined
    • Fuse Standalone
    • Hide

      check
      camel-2.23.2.fuse-770010-redhat-00001/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java

      Show
      check camel-2.23.2.fuse-770010-redhat-00001/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java

    Description

      Official document describes the default value for JSON JACKSON DATAFORMAT's contentTypeHeader option is "false", but the actual code is "true".

      In general, marshaling an exchange header is too much behavior, so the default value "false" is suitable for this option. That's why I didn't file this ticket as a document bug.

      Please consider to fix the source code.

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            rhn-support-hfuruich Hisao Furuichi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: