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 » ImqPutMessageOptions with MQPMO_SYNCPOINT

Post new topic  Reply to topic
 ImqPutMessageOptions with MQPMO_SYNCPOINT « View previous topic :: View next topic » 
Author Message
starfish77
PostPosted: Wed Nov 19, 2003 12:14 pm    Post subject: ImqPutMessageOptions with MQPMO_SYNCPOINT Reply with quote

Apprentice

Joined: 07 Nov 2003
Posts: 31
Location: USA

Can some body please tell me the significance of MQPMO_SYNCPOINT for
ImqPutMessageOptions. As far as I understand for GetMessage options, MQGMO_SYNCPOINT will participate in syncpoint. Do I need to set ImqPutMessageOptions with syncpoint if my GetMEssageOpotions are already setting it.
Also, another question. If I am using syncpoint for Getoptions and then I have call for PutOptions where I use Syncpoint, does than mean I am starting second Unit of work. DOn't I need to complete my transaction before second unit of work begins.


Appreciate ur response..
Back to top
View user's profile Send private message
emiranda
PostPosted: Wed Nov 19, 2003 12:46 pm    Post subject: Reply with quote

Disciple

Joined: 21 Nov 2002
Posts: 196
Location: Dublin, Ireland

Hi,
Obviously you know MQGMO_SYNCPOINT is to GET a message and MQPMO_SYNCPOINT is to PUT a message...

So, what's the doubt? MQGMO_SYNCPOINT will make the GET participates into the UOW and MQPMO_SYNCPOINT will make the PUT participates...

Each MQ verb worksd like a separated thread, so each verb has its own UOW control (MQGET, MQPUT, MQCONN, etc), so the SyncPoint option of GET three's nothing with the PUT SyncPoint.

_________________
Warm Regards,
EM
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Nov 19, 2003 1:47 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Don't confuse the syncpoint options with the message persistent options. You can put non-persistent messages in a unit of work. You can also put persistent messages outside of a unit of work. However, as a general rule of thumb, if it is important enough to save (ie, persistent), it should probably be in a unit of work.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » ImqPutMessageOptions with MQPMO_SYNCPOINT
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.