|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Persistency in MQGET |
« View previous topic :: View next topic » |
Author |
Message
|
michelz |
Posted: Thu Mar 21, 2002 8:08 am Post subject: |
|
|
Novice
Joined: 05 Feb 2002 Posts: 10 Location: Michel Zohar
|
Is there a meaning to set persistency in get method?
Does it have any affect on performance? |
|
Back to top |
|
 |
mqonnet |
Posted: Thu Mar 21, 2002 8:26 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
There is no significance of Persistence on a Get. Reason. Persistence is an attribute to distinguish between messages stored temporarily and those which are stored permanently. And hence this option needs to be specified only on a PUT. Once the message is stored/written to disk, in the fashion the app wanted it to, it really does not make any difference how the Get is retrieving the message. Persistent/non-persistent. Persistence is the attribute of a message rather than an MQI Call, such as an MQGET.
For more info, check the Application Programming reference "MQMD" chapter 9.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
bduncan |
Posted: Fri Mar 22, 2002 1:56 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Yes, when you do an MQGET, you pass an MQMD object/structure as a parameter. You do this so you can match against message id, correlation id, etc... However, most of the parameters in the MQMD cannot be used for matching, and in fact make no sense in conjunction with MQGET. The designers of MQSeries simply made a judgement call here. Either you call MQGET and supply some matching parameters (specified as strings, ints, etc...) and get back an MQMD structure (the message you requested), or get rid of the need for supplying all the extra matching parameters and simply having you populate an MQMD structure (since you're going to get one back anyway) in order to specify the fields you want to match against...
_________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|