What version of FUSE are you using here? Can you attach a test?
I am using fuse188.8.131.52 with following libraries:
I am attaching some logs here where I run 2 tests:
- keyword "TEST-1" shows section of logs where debug is turned on for org.apache.servicemix and where msg gets processed correctly.
- keyword "TEST-2" shows section of logs where debug is off for org.apache.servicemix and where the interceptor throws a parsing exception
I have an SA with following service units:
1) a file su that polls xml files from a directory and forwards it to destination "inputChannel". I am attaching the xbean.xml file
2) a camel router that pulls msg out of "inputChannel", adds a header, logs it and forwards it to next destination. I see that the msg received are different when debug is off. The router java file is attached here as well.
I believe this is a bug with the servicemix file component. Since I am new to the project, would appreciate some help.
Actually, I find out that when my test xml file has some header with dtd information, servicemix cannot process it correctly when log level is set to INFO. Is this a bug with servicemix ? Is there some configuration flag that I can tune ?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE OutboundEvent [
<!ELEMENT OutboundEvent (APIHeader, BusinessObject)>
<!ENTITY % APIHeader SYSTEM "http://apifw/d700/xml/APIHeader.Outbound.Event.V060000.dtd">
<!ENTITY % BusinessObject SYSTEM "http://apifw/d700/xml/Equipment.Publish.Event.V060000.dtd">