• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Persistance in JMS

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I have just started using JMS API. I am thru with simple pub/sub example.
But I am unable to store the message( an xml file in my case) using JMS FileStore.
I have created a directory on my local disk and a filestore in the JMS server configuartion.
The .xml file is not saved anywhere.
What extra settings if any are required? Does the sender code automatically saves the file or we need to do some extra coding for this?
Also how is a JDBCStore used?
Can anyone please help me in this regard?
Thanks in advance
Vivek

 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by vivek makode:
The .xml file is not saved anywhere.


Are you expecting to see an xml file in your hard drive? The JMS Server will store the message to desk in its own format, likely unreadable to you.
Furthermore, since you are using Topics the message will only be persisted if you are using durable subscriptions. Are you running into problems or are you just assuming that things are not working correctly?
 
For my next trick, I'll need the help of a tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic