genman was saying that you should just send the whole DOM tree (put the parent Node in an ObjectMessage).
Just watch out if you change the stack size because DOM is a deeply recursive structure and the default java serialization is also very recursive. Basically, what he was saying was: session.createObjectMessage( rootElement ); We've found that this will blow the 128k stack about 1/2 of the time (for our XML, YMMV). We've actually adopted a similar idea to you, send the string and parse it on the other side (message receiver) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909779#3909779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909779 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
