Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Appropiate way for sending an XML Structured file to the Queue  RSS feed

Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 .
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!