I am sorry I still need help with this. I have enabled logging and tracing during unit test. I can see my XML message as is routed. The last time I see the XML body is when it is sent to the split component:
[Tracer:88] 77fdf366-9dfc-414c-a7d7-6a687f24d078 >>> choice --> split[XPath: /message/body/category_definitions/category_definition[fixed_part='IMP']] <<< Pattern:InOnly, BodyType:String, Body:<?xml version="1.0" encoding="UTF-8"?>... After this line, the message is converted from DTMNodeList to Object and that is where I no longer see the XML data. [DefaultTypeConverter:141] Converting com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList -> java.lang.Object with value: com.sun.org.apache.xml.internal.dtm.ref.dtmnodel...@521bfefb [MulticastProcessor:108] ProcessorExchangePair #0 begin: Exchange[Message: [category_definition: null]] It seems that this conversion causes the problem, because after this the XML does not show up in the logs anymore, but I am not sure. Any hint would be greatly appreciated. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Split-XPath-JBoss-tp3198294p3199896.html Sent from the Camel - Users mailing list archive at Nabble.com.