[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

WebSphere MQ Persistence/non-persistence

Posted on 2014-02-11
6
Medium Priority
?
1,604 Views
Last Modified: 2014-07-05
I have a requirement to make a message non-persistent because it is not that important, My environment has WebsPhere Mq, Websphere application server,  and java application that is actually putting that message.

I have set the persistence/priority on the application server to use "as set in queue definiton", the queue definition is set to non-persistent. When the application team sends a message and we look at the header it appears to be persistent.

Does anybody know what I am missing and how can I make this message as non-persistent?
0
Comment
Question by:WASUser700
[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
  • 2
6 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 39855459
Because it is set in application?
0
 

Author Comment

by:WASUser700
ID: 39859446
how do I change it to use what is set in the queue definiton?
0
 
LVL 62

Accepted Solution

by:
gheist earned 1000 total points
ID: 39860236
You have to use Tuxedo (end application should set to use queue default)
0
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 

Author Comment

by:WASUser700
ID: 39900654
thanks
0
 
LVL 62

Expert Comment

by:gheist
ID: 39901219
i.e tuxedo's queue definitions set message parameters, while in MQ it is done via client API
0
 

Expert Comment

by:dpwashere
ID: 40178706
Set MQMD message persistence to  nonpersistent (MQPER_NOT_PERSISTENT) and your message will always retain that value.

MQPER_PERSISTENCE_AS_Q_DEF is the default setting for the persistence value in the MQMD.


Thanks,
DP
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Viewers will learn how to use the Hootsuite Dashboard.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

656 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