I modified the file-binding example from the distribution, and tried to
transfer binary file(non-xml).
The filePoller component get the file from file system, then pass to the
fileProcessor compoent which will deliver the message to a
Queue(demo.org.servicemix.source). 
The fileReceiver component is always listening the
Queue(demo.org.servicemix.source), when message receiving, it passes the
message to fileSender compoent which will write the file to file system.
But it failed....How to solve this problem?
When I drop a file(a.txt) to inbox, error shows:

     [java] WARN  - SourceTransformer              - No Source available
     [java] [Fatal Error] :-1:-1: Premature end of file.
     [java] [Fatal Error] :-1:-1: Premature end of file.
     [java] [Fatal Error] :-1:-1: Premature end of file.
     [java] [Fatal Error] :-1:-1: Premature end of file.
     [java] [Fatal Error] :-1:-1: Premature end of file.
     [java] [Fatal Error] :-1:-1: Premature end of file.
     [java] [Fatal Error] :-1:-1: Premature end of file.
     [java] [Fatal Error] :-1:-1: Premature end of file.
     [java] [Fatal Error] :-1:-1: Premature end of file.
http://www.nabble.com/file/p11779424/servicemix.xml servicemix.xml 

-- 
View this message in context: 
http://www.nabble.com/file-binding-example-for-binary-file-through-jms...-tf4141085s12049.html#a11779424
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to