Fuse ESB expects XML messages and does not perform any implicit conversion.
In your configuration, it will expect an xml file to be dropped in the D:/Polar folder and will send it using an HTTP post request to http://localhost:9090/hello
If you want to use plain text files, you will need to use marshalers on both the file and http sides. Note that the <http:endpoint/> does not support marshalers and you need to use the <http:provider/> endpoint instead.
Currently i am getting that following error while process that scenario:-
status: Error role: consumer service: HelloTestService endpoint: StockEndpoint in: Unable to display: java.io.IOException: Stream closed error: com.ctc.wstx.exc.WstxIOException: Stream closed
09-19-08@16:14:08 | ERROR | pool-component.servicemix-file-thread-13 | FileComponent | icemix.file.FilePollerEndpoint 267 | Failed to process file: D:\Polar\books.xml. Reason: com.ctc.wstx.exc.WstxIOException: Stream closed
please provide some pointer to solve this error.