3 Replies Latest reply on Nov 4, 2009 5:50 PM by valerie choy

    xml parsing error when org.apache.servicemix log level set to INFO

    valerie choy Newbie

      Hi,

       

      I have an SA which consists of the following components:

      1) a file poller that polls xml file from a directory and forwards to next target service called "inputChannel"

      2) a camel route that pulls msg from "inputChannel" and forwards it to next service that will parse the msg and do processing accordingly.

       

      we notice that when org.apache.servicemix logging level is set to "DEBUG", everything goes fine.

       

      the content of the xml file forwarded to "inputChannel" is ok.

       

      But when org.apache.servicemix logging level is set to "INFO", the xml file forwarded to "inputChannel" is not being processed properly ie. it has those DTD content inserted into the msg.

       

      Has anyone encountered this problem ? would appreciate some suggestion.

       

      Thanks

       

      1) this is msg content when 'DEBUG' is turned on:

       

      2009-11-03 16:49:04:186 GMT-0800, INFO , pool-flow.seda.servicemix-camel-thread-1, IncomingPublisherMessage - Exchange[BodyType:String, Body:]