?
Solved

WebSphere MQ Persistence/non-persistence

Posted on 2014-02-11
6
Medium Priority
?
1,645 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 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever run into that annoying problem where the computer won't boot?  Wouldn't it be great if you had a tool that would make that disk boot again?  I have found one tool that works more often than not ...
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

862 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