|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ImqPutMessageOptions with MQPMO_SYNCPOINT |
« View previous topic :: View next topic » |
Author |
Message
|
starfish77 |
Posted: Wed Nov 19, 2003 12:14 pm Post subject: ImqPutMessageOptions with MQPMO_SYNCPOINT |
|
|
 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 |
|
 |
emiranda |
Posted: Wed Nov 19, 2003 12:46 pm Post subject: |
|
|
 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 |
|
 |
bower5932 |
Posted: Wed Nov 19, 2003 1:47 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|