Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3360

write json to ftp from database

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Fuse Online
    • None

      I can not write json to ftp from databse.

      we need to enhancement it. To write json data to ftp.

       

       

       

      the error is 

      org.apache.camel.component.file.GenericFileOperationFailedException: Cannot store file: upload/wine_20200804070858997.txt

      Caused by: org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream but has value: [{"ci":"B","gws":9802,"id":42,"nbj":3,"price":275,"wine":"Abreu Vineyard, Las Posadas, Howell Mountain","year":2013}, {"ci":"C+","gws":9728,"id":91,"nbj":3,"price":499,"wine":"Araujo Estate, Eisele Vineyard Cabernet Sauvignon, Napa Valley","year":2015}, {"ci":"A+","gws":9717,"id":99,"nbj":3,"price":225,"wine":"Aubert Wines, Ritchie Vineyard Chardonnay, White, Sonoma Coast","year":2015},

              Unassigned Unassigned
              jaime.xie@universalbeijing.com Jaime Xie (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: