On 8/1/07, Viali.Lee <[EMAIL PROTECTED]> wrote:
>
> I tried to modify the file-binding example, poll files to jms..
> but failed..
> [java] ERROR - JmsComponent - Error processing
> exchange InOnly[
> [java] id: ID:10.61.0.21-11421a853e7-5:0
> [java] status: Active
> [java] role: provider
> [java] service: fileReceiver
> [java] endpoint: endpoint
> [java] in: null
> [java] ]
> [java] javax.xml.stream.XMLStreamException: Trying to write
> END_DOCUMENT when document has no root (ie. trying to output empty
> document).
Based on the error above, it appears that the content of the message
is not XML. What is the payload that is being sent?
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/