In my code I generate XML file from a database (table --> XML) and want to send 
it as a JMS message to a MDB @ JBoss server.

Max file size is 16MB.
Because of the size the only reasonably way seems to be compressing the XML 
file using ZIP (Zipentry, compressed size is 500KB) or even better GZIP 
(GZIPOutputStream) from java.util.zip, then send it as an ObjectMessage to JMS 
queue.  

Now my question is what is better:
1. Send the compressed XML file as ObjectMessage?
2. Or even easier send the XML file uncompressed as TextMessage because 
serialization does some compression as well?

Anybody with experience?!

AndrejT



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866371#3866371

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866371


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to