Solved

WebSphere MQ Persistence/non-persistence

Posted on 2014-02-11
6
1,387 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

708 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