Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1027

ConvertBodyType toString doesn't take consideration of the typeClass setting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0, 1.4.0
    • 1.5.0
    • camel-core
    • None

    Description

      The toString() codes of ConvertBodyType

      public String toString() {
              return "convertBodyTo[" + getType() + "]";
       }
      

      if the ConvertBodyType's typeClass member is set, the toString() method will not not reflect that.

      Here is the mail thread which talks about it.
      http://markmail.org/message/irikh3gxsff6vnlg?q=Problems+with+convertBodyTo+in+Java+DSL

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: