ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Persistency in MQGET

Post new topic  Reply to topic
 Persistency in MQGET « View previous topic :: View next topic » 
Author Message
michelz
PostPosted: Thu Mar 21, 2002 8:08 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
mqonnet
PostPosted: Thu Mar 21, 2002 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bduncan
PostPosted: Fri Mar 22, 2002 1:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Persistency in MQGET
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.