Register / Login
EJB and other Java EE Technologies
Appropiate way for sending an XML Structured file to the Queue
Ravi Kiran Va
posted 6 years ago
I am reading all my Database Table data and construcing an XML file .
Now i want to send this XML file to the MQ (Queue ) as destination .
Please tell me what will be the best approach in these two cases :
1. Construct an XML file and store it in a drive (say with file name as Ravi.xml) and then pick that with the help of File API and send it as an attachment to the Queue
(I dont whether this is possible also sending a attachment to the Queue )
2.Use the ByteMessage /TextMessage Construct an XML file dynamically with the help of DOM API and post that Message to the Queue .
Please help . I am still doing R&D on this .
Save India From Corruption - Anna Hazare.
URGENT Help Needed regarding the sending XML file to the JMS Queue
Attachment FileName not displaying UTF-8 characters correctly
guaranteed data delivery on top of xml based asynchronous communication
compress a xml file