Solved

WebSphere MQ Persistence/non-persistence

Posted on 2014-02-11
6
1,401 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
  • 3
  • 2
6 Comments
 
LVL 61

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 61

Accepted Solution

by:
gheist earned 500 total points
ID: 39860236
You have to use Tuxedo (end application should set to use queue default)
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:WASUser700
ID: 39900654
thanks
0
 
LVL 61

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Choppy program performance on Windows Server 2012 20 84
OST To PST Converter 5 212
Win 7 OS unable to install Win updates 3 135
Where is Outlook in Paperport 14? 6 25
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

930 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now