Hi,
i just installed service mix 3.3.1 and deployed my components there.
I tried to send my messages thru the system but when they come out of the
jms queue all text nodes are removed.
The message first looks this way:
INFO - OsrTcpConsumerMarshaler - Putting message on bus: <?xml
version="1.0" encoding="UTF-8"?>
<LCPROT route="WMS_LCP" service="SSSUBSYSTEM" version="1.1">
<REQUEST>MARRIAGE_CONTAINER</REQUEST>
<REQUESTID>1247146808301</REQUESTID>
<MARRIAGE_CONTAINER>
<DATAFORMAT>SSSUBSYSTEM.XML</DATAFORMAT>
<DATATYPE>TEXT</DATATYPE>
<DATA format="SSSUBSYSTEM.XML" name="osr2wms" type="TEXT"><?xml
version="1.0" encoding="UTF-8"?>
<osr2wms>
<imp_event action="MARRIAGE" dcr="2009-07-09 15:40:08" errorid="0"
sub_action="CONTAINER" systemid="02">
<imp_container cntno="11222" conttypeid="605314" errorid="0"
licenceplate="11222" wpono="11"/>
</imp_event>
</osr2wms>
</DATA>
</MARRIAGE_CONTAINER>
</LCPROT>
after the JMS Qeue it looks this way:
Received from bus: <?xml version="1.0" encoding="UTF-8"?><LCPROT
route="WMS_LCP" service="SSSUBSYSTEM"
version="1.1"><REQUEST>MARRIAGE_CONTAINER</REQUEST><REQUESTID>1247146808301</REQUESTID><MARRIAGE_CONTAINER><DATAFORMAT>SSSUBSYSTEM.XML</DATAFORMAT><DATATYPE>TEXT</DATATYPE><DATA
format="SSSUBSYSTEM.XML" name="osr2wms"
type="TEXT"/></MARRIAGE_CONTAINER></LCPROT>
as you can see all text nodes are removed. This did not happen when i used
servicemix 3.3.
This is the way how i read the messages:
SourceTransformer transformer = new SourceTransformer();
String content = transformer.contentToString(in);
String msg = "Received from bus: " + content;
I also checked the database and when i look at the blob as ascii i can see
the complete message with the text nodes.
Regards,
Christian
--
View this message in context:
http://www.nabble.com/Missing-Text-in-XML-Message-after-sending-it-thru-the-jms-component-tp24410355p24410355.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.