Solved

WebSphere MQ Persistence/non-persistence

Posted on 2014-02-11
6
1,510 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 500 total points
ID: 39860236
You have to use Tuxedo (end application should set to use queue default)
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 

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

Let’s list some of the technologies that enable smooth teleworking. 
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

726 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