Solved

Persistent JMS messages

Posted on 2013-11-07
3
186 Views
Last Modified: 2013-11-14
hi guys
There is some JMS code which we have inherited
We are using WebsphereMQ

I see these thre lines of code

javax.jms.Queue queue = (javax.jms.Queue) initialctx.lookup("QUEUE.NAME");
QueueSender queueSender = queueSession.createSender(queue);
queueSender.setDeliveryMode(DeliveryMode.PERSISTENT);

My question is if the deliverymode is set to DeliveryMode.PERSISTENT, where is the message persisted in case of webspehre MQ?

thanks
0
Comment
Question by:royjayd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
mccarl earned 300 total points
ID: 39632155
I am more experienced with ActiveMQ than WebsphereMQ but the principles are generally the same. It appears that the persistence mechanism with WebsphereMQ is filesystem based.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=%2Fcom.ibm.mq.csqzal.doc%2Ffg10810_.htm

There may be other options but it appears that this is at least the default. I know with ActiveMQ that the default option is a file based system called KahaDB but that you have the option to configure a different type of message store with some one other option being that the messages are persisted to a traditional SQL database.
0
 
LVL 12

Assisted Solution

by:Sharon Seth
Sharon Seth earned 125 total points
ID: 39632777
Like all other implementations , this too might/should be a file . Specifically , the persistence store you see in the MQ config would be the place where all your messages are stored
0
 

Author Closing Comment

by:royjayd
ID: 39648415
thanks
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delete Android all or certain applications data programmatically 9 153
pagenation logic how it is working in my code 1 82
Java 8 to Java 6 8 44
What browser will run Java? 7 184
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question