camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gert Vanthienen <gert.vanthie...@skynet.be>
Subject Re: [jira] Created: (CAMEL-516) Camel routes only work when org.apache.servicemix log level is set to DEBUG
Date Fri, 16 May 2008 06:23:33 GMT
Mike,


If the problem goes away when setting the log level to DEBUG, it is 
probably caused by a message payload that can't be read from more than 
once (e.g. a StreamSource).  The two solutions I am aware of are:
- converting the message body to something that is re-readable (like a 
String or DOMSource)
- enabling stream caching on the RouteBuilder, which should auto-convert 
to a re-readable type

However, if I'm not mistaken, neither of these two solutions is 
available in the XML syntax in version 1.3.0.  The first option is 
available on the 1.4.0-SNAPSHOT version currently in trunk though.  So 
you could try to replace Camel with a more recent version on your 
machine or you could write the same Route in the Java DSL to gain access 
to the two options I mentioned.  Could you try this and let us know if 
this is the solution to your problem (just to make sure there isn't 
something completely different going on here)?

On the development side of things, we should obviously make the stream 
caching option available in the XML syntax (issue CAMEL-519) but I guess 
we want to enable it by default on the DeadLetterChannel as well, 
because it is bound to try to process the same message content multiple 
times (issues CAMEL-520).  I'm not sure how we should handle things like 
a content-based router, which is likely to access the message body as 
well before sending it along to the next hop. Perhaps it is time to 
reconsider James' original suggestion to always convert messages and 
give users the option to avoid this if they know what they're doing 
(cfr. comments in CAMEL-179).


Gert




Mike Gardiner (JIRA) wrote:
> Camel routes only work when org.apache.servicemix log level is set to DEBUG
> ---------------------------------------------------------------------------
>
>                  Key: CAMEL-516
>                  URL: https://issues.apache.org/activemq/browse/CAMEL-516
>              Project: Apache Camel
>           Issue Type: Bug
>     Affects Versions: 1.3.0
>          Environment: Windows XP, J2SDK (build 1.6.0_03-b05), IONA-FUSE 3.3.1.0
>             Reporter: Mike Gardiner
>
>
> In the servicemix/conf/log4j.xml file if I don't set the org.apache.servicemix log level to DEBUG I get SAXParseExceptions.
>
> For example, if I leave the log level to INFO as specified below
>
>     <logger name="org.apache.servicemix">
>         <!-- To enable debug logging, replace the INFO by DEBUG -->
>         <level value="INFO"/>
>     </logger>
>
> I get the following:
>
> 11:24:14,008 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-0. On delivery attempt: 0 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:15,006 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-0. On delivery attempt: 1 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:16,019 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-0. On delivery attempt: 2 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:16,129 | ERROR | pool-flow.seda.servicemix-camel-thread-2 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-1. On delivery attempt: 0 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:17,018 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-0. On delivery attempt: 3 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:17,127 | ERROR | pool-flow.seda.servicemix-camel-thread-2 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-1. On delivery attempt: 1 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:18,016 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-0. On delivery attempt: 4 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:18,125 | ERROR | pool-flow.seda.servicemix-camel-thread-2 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-1. On delivery attempt: 2 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:19,030 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-0. On delivery attempt: 5 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:19,045 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | DeadLetterChannel        | .apache.camel.processor.Logger   69 | Exchange[Message: javax.xml.transform.stream.StreamSource@1c192c8]
> 11:24:19,045 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | DeadLetterChannel        | .apache.camel.processor.Logger  106 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-0. Handled by the failure processor: RecipientList[log:org.apache.camel.DeadLetterChannel?level=error]
> 11:24:19,061 | ERROR | pool-flow.seda.servicemix-camel-thread-3 | JmsComponent             | ervicemix.common.BaseLifeCycle   48 | Error processing exchange InOut[
>   id: ID:166.29.99.171-119e34d4895-7:0
>   status: Done
>   role: consumer
>   service: {urn:com.lmco.isgs.bais}interfaceRules
>   endpoint: camel166-29-99-171-119e34d4895-28-0
>   operation: {urn:com.lmco.isgs.bais}operationInOut
>   in: Unable to display: org.xml.sax.SAXParseException: Premature end of file.
>   out: null
> ]
> javax.xml.stream.XMLStreamException: Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).
> 	at com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1473)
> 	at com.ctc.wstx.sw.BaseStreamWriter.reportNwfStructure(BaseStreamWriter.java:1502)
> 	at com.ctc.wstx.sw.BaseStreamWriter.finishDocument(BaseStreamWriter.java:1663)
> 	at com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:585)
> 	at org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:130)
> 	at org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:92)
> 	at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:79)
> 	at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:106)
> 	at org.apache.servicemix.jms.AbstractJmsProcessor.fromNMSResponse(AbstractJmsProcessor.java:200)
> 	at org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor.process(MultiplexingConsumerProcessor.java:112)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:512)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> 11:24:19,061 | ERROR | pool-flow.seda.servicemix-camel-thread-3 | JmsComponent             | ervicemix.common.BaseLifeCycle   60 | Error setting exchange status to ERROR
> java.lang.IllegalStateException: component is not owner when trying to set error: javax.xml.stream.XMLStreamException: Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).
> 	at org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setError(MessageExchangeImpl.java:264)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:57)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: javax.xml.stream.XMLStreamException: Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).
> 	at com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1473)
> 	at com.ctc.wstx.sw.BaseStreamWriter.reportNwfStructure(BaseStreamWriter.java:1502)
> 	at com.ctc.wstx.sw.BaseStreamWriter.finishDocument(BaseStreamWriter.java:1663)
> 	at com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:585)
> 	at org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:130)
> 	at org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:92)
> 	at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:79)
> 	at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:106)
> 	at org.apache.servicemix.jms.AbstractJmsProcessor.fromNMSResponse(AbstractJmsProcessor.java:200)
> 	at org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor.process(MultiplexingConsumerProcessor.java:112)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:512)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	... 7 more
> 11:24:19,139 | ERROR | pool-flow.seda.servicemix-camel-thread-2 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-1. On delivery attempt: 3 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:20,137 | ERROR | pool-flow.seda.servicemix-camel-thread-2 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-1. On delivery attempt: 4 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:21,135 | ERROR | pool-flow.seda.servicemix-camel-thread-2 | DeadLetterChannel        | .apache.camel.processor.Logger  143 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-1. On delivery attempt: 5 caught: org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> org.apache.camel.RuntimeCamelException: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:326)
> 	at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:50)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:52)
> 	at org.apache.camel.builder.xml.XPathBuilder.getDocument(XPathBuilder.java:537)
> 	at org.apache.camel.builder.xml.XPathBuilder.evaluateAs(XPathBuilder.java:420)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:98)
> 	at org.apache.camel.builder.xml.XPathBuilder.matches(XPathBuilder.java:63)
> 	at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:47)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsynProcessorBridge.process(AsyncProcessorTypeConverter.java:44)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:146)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:90)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:40)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:44)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:68)
> 	at org.apache.servicemix.camel.CamelJbiEndpoint.processInOut(CamelJbiEndpoint.java:73)
> 	at org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSourceFromStream(XmlConverter.java:370)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMSource(XmlConverter.java:205)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMNode(XmlConverter.java:415)
> 	at org.apache.camel.converter.jaxp.XmlConverter.toDOMDocument(XmlConverter.java:523)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:322)
> 	... 26 more
> 11:24:21,135 | ERROR | pool-flow.seda.servicemix-camel-thread-2 | DeadLetterChannel        | .apache.camel.processor.Logger   69 | Exchange[Message: javax.xml.transform.stream.StreamSource@14b1d80]
> 11:24:21,135 | ERROR | pool-flow.seda.servicemix-camel-thread-2 | DeadLetterChannel        | .apache.camel.processor.Logger  106 | Failed delivery for exchangeId: ID-SLCWD04TY51/3277-1210699406563/0-1. Handled by the failure processor: RecipientList[log:org.apache.camel.DeadLetterChannel?level=error]
> 11:24:21,151 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | JmsComponent             | ervicemix.common.BaseLifeCycle   48 | Error processing exchange InOut[
>   id: ID:166.29.99.171-119e34d4895-7:1
>   status: Done
>   role: consumer
>   service: {urn:com.lmco.isgs.bais}interfaceRules
>   endpoint: camel166-29-99-171-119e34d4895-28-0
>   operation: {urn:com.lmco.isgs.bais}operationInOut
>   in: Unable to display: org.xml.sax.SAXParseException: Premature end of file.
>   out: null
> ]
> javax.xml.stream.XMLStreamException: Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).
> 	at com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1473)
> 	at com.ctc.wstx.sw.BaseStreamWriter.reportNwfStructure(BaseStreamWriter.java:1502)
> 	at com.ctc.wstx.sw.BaseStreamWriter.finishDocument(BaseStreamWriter.java:1663)
> 	at com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:585)
> 	at org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:130)
> 	at org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:92)
> 	at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:79)
> 	at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:106)
> 	at org.apache.servicemix.jms.AbstractJmsProcessor.fromNMSResponse(AbstractJmsProcessor.java:200)
> 	at org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor.process(MultiplexingConsumerProcessor.java:112)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:512)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> 11:24:21,151 | ERROR | pool-flow.seda.servicemix-camel-thread-1 | JmsComponent             | ervicemix.common.BaseLifeCycle   60 | Error setting exchange status to ERROR
> java.lang.IllegalStateException: component is not owner when trying to set error: javax.xml.stream.XMLStreamException: Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).
> 	at org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setError(MessageExchangeImpl.java:264)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:57)
> 	at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
> 	at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
> 	at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: javax.xml.stream.XMLStreamException: Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document).
> 	at com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1473)
> 	at com.ctc.wstx.sw.BaseStreamWriter.reportNwfStructure(BaseStreamWriter.java:1502)
> 	at com.ctc.wstx.sw.BaseStreamWriter.finishDocument(BaseStreamWriter.java:1663)
> 	at com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:585)
> 	at org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:130)
> 	at org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:92)
> 	at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:79)
> 	at org.apache.servicemix.jms.DefaultJmsMarshaler.toJMS(DefaultJmsMarshaler.java:106)
> 	at org.apache.servicemix.jms.AbstractJmsProcessor.fromNMSResponse(AbstractJmsProcessor.java:200)
> 	at org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor.process(MultiplexingConsumerProcessor.java:112)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
> 	at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:512)
> 	at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> 	... 7 more
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <beans 
> 	xmlns="http://www.springframework.org/schema/beans"
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring-1.3.0.xsd"
> 	xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
>
> 	<camelContext id="camelInterfaceRules" xmlns="http://activemq.apache.org/camel/schema/spring">
> 		<route>
> 			<from uri="jbi:service:urn:com.a.b.c:testRules"/>
> 			<choice>
> 				<when>
> 					<xpath>//*[local-name() = 'testMsg1']</xpath>
> 					<to uri="jbi:service:urn:com.a.b.c:Service1"/>					
> 				</when>
> 				<when>
> 					<xpath>//*[local-name() = 'testMsg2']</xpath>
> 					<to uri="jbi:service:urn:com.a.b.c:Service2"/>
> 				</when>
> 			</choice>	      	
> 		</route>
> 	</camelContext>
> </beans>
>
> Thanks.
>
>   


Mime
View raw message