View previous topic :: View next topic |
Author |
Message |
cxvxbx Beginner
Joined: 26 Apr 2006 Posts: 16 Topics: 8 Location: Utopia
|
Posted: Wed Apr 26, 2006 7:40 am Post subject: Commiting a single MQ in a multi MQ transaction |
|
|
I am working on an application (APP1) that processes multiple MQs (both input as well as output) simultaneously. There is a requirement to add a new MQ which will act as a remote MQ for another application (APP2).
During any transaction of APP1, some data will be placed on this new MQ and a MQ commit will have to be issued for APP2 to pick the data. However, there would be data on the other MQs used in APP1 which shouldn't be commited.
Is there any way to achieve this ? i.e. is it possible to issue a MQ commit on a single MQ without affecting the other MQs within that unit of work ?
Any pointers to a solution would be of great help.
Thanks. |
|
Back to top |
|
 |
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Thu Apr 27, 2006 8:33 am Post subject: |
|
|
cxvxbx,
Refer to MQ PUT Options. You can set a message to have implicit commit by using "MQPMO-NO-SYNCPOINT", this message would be outside the control of the LUW. However, if you have to rollback this particular message you have to programatically do it. Refer to the manuals for more details on the put options. Thanks |
|
Back to top |
|
 |
cxvxbx Beginner
Joined: 26 Apr 2006 Posts: 16 Topics: 8 Location: Utopia
|
Posted: Wed May 03, 2006 1:12 am Post subject: |
|
|
Thanks for the response suresh.
I explored the option and its working fine on a local Q.
However, while using this on a remote MQ, i am able to put the message but unable to get a response. Do you have any pointers on the possible issue with this ? |
|
Back to top |
|
 |
|
|