The MQExplorer does not show it, but runmqsc does.
I wonder if there is any performance hit? If not, why not set it to HIGH
always? Unless you are the type to bounce QMs solely to get rid of
Persistent messages?
>From the read me.....
New Queue Attribute
This WebSphere MQ V5.3 update introduces a new queue attribute
NPMCLASS which applies to local and model queues. NPMCLASS can
take one of two values:
1.NPMCLASS(NORMAL) - This is the default value and indicates
that non-persistent messages on this queue are only lost following
a failure, or a queue manager shutdown. These messages will be
discarded in the event of a queue manager restart.
2.NPMCLASS(HIGH) - This setting enables non-persistent messages on
this queue to be retained across a queue manager restart.
Non-persistent messages may still be lost in the event of a
failure.
The WebSphere MQ V5.3 JMS classes are extended to allow exploitation
of the NPMCLASS queue attribute. This is done by adding a new value,
JMSC.MQJMS_PER_NPHIGH, to the list of p persistence modes accepted by
the Destination.setPersistence(int persistence) method. If this
value is set and the underlying queue(s) supports it, then persistent
JMS messages will be mapped to non-persistent (MQPER_NOT_PERSISTENT)
MQ messages. If the underlying queue(s) do not specify
NPMCLASS(HIGH), then persistent JMS messages will map to persistent
(MQPER_PERSISTENT) MQ messages.
In order to determine if the underlying queue supports NPMCLASS then
when JMSC.MQJMS_PER_NPHIGH is specified the JMS classes will issue
an MQINQ against the base queue. JMSC.MQJMS_PER_NPHIGH should not
be specified when the JMS application is not authorized to inquire
upon the base queue.
It is the administrator's responsibility to ensure that all
appropriate queues specify NPMCLASS(HIGH). Note that for
Publish/Subscribe applications, both the publisher and subscriber
queues must be specify NPMCLASS(HIGH).
For maximum reliability it is advised that the JMS Persistent
attribute is mapped to WebSphere MQ persistence rather than use of
JMSC.MQJMS_PER_NPHIGH.
Peter Potkay
MQSeries Specialist
The Hartford Financial Services
[EMAIL PROTECTED]
x77906
IBM MQSeries Certified
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive