• Post Reply Bookmark Topic Watch Topic
  • New Topic

sending XML document as text messages

 
ved gunjan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!All
How do i send an XML document by way of the text message type to a MDB in JMS.
Lets say that i have my XML document on local hard disk ,the location been
C:\prototype\myXML.xml

So how do i fetch that file and and pass it as parameter to setMessage();
Can somebody plz write a small code snippet to make the picture clear.

Many Regards
ved Gunjan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!