WebSphere MQ Persistence/non-persistence

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?
WASUser700Asked:
Who is Participating?
 
gheistConnect With a Mentor Commented:
You have to use Tuxedo (end application should set to use queue default)
0
 
gheistCommented:
Because it is set in application?
0
 
WASUser700Author Commented:
how do I change it to use what is set in the queue definiton?
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
WASUser700Author Commented:
thanks
0
 
gheistCommented:
i.e tuxedo's queue definitions set message parameters, while in MQ it is done via client API
0
 
dpwashereCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.