|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Report option usage |
« View previous topic :: View next topic » |
Author |
Message
|
malai |
Posted: Mon Dec 08, 2003 5:35 am Post subject: Report option usage |
|
|
Newbie
Joined: 04 Dec 2003 Posts: 8
|
We have 4 different options in case of reports like
Exception
Expiration
Confirm on arrival (COA)
Confirm on delivery (COD)
Positive action notification (PAN)
Negative action notification (NAN)
How to make use of after setting the Report type of QueueMessage object...?
mqMsg = New MQMessage()
mqMsg.Report = MQC.MQRO_COA |
|
Back to top |
|
 |
EddieA |
Posted: Mon Dec 08, 2003 7:40 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
If you are asking how to set more that one at a time, then add them together:
mqMsg.Report = MQC.MQRO_COA + MQC.MQRO_COD
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
malai |
Posted: Mon Dec 08, 2003 8:33 pm Post subject: |
|
|
Newbie
Joined: 04 Dec 2003 Posts: 8
|
Thanks,,,
Actually after sending a message to a queue,i need to set some some flag in my db to confirm that the message is sent properly to the queue...
so for this how will i use this for my task....?
mqMsg.Report = MQC.MQRO_COA |
|
Back to top |
|
 |
EddieA |
Posted: Tue Dec 09, 2003 7:58 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
What do you mean "sent properly to the queue". As far as PUTting the message to a queue is concerned, if you get back a zero return/reason code, then it was PUT "properly".
What these report options do, is generate a Report message which is returned to you, either when the message reasches the destination queue (COA), or an application has retreived the message (COD).
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
malai |
Posted: Tue Dec 09, 2003 8:30 pm Post subject: |
|
|
Newbie
Joined: 04 Dec 2003 Posts: 8
|
Thanx....
"As far as PUTting the message to a queue is concerned, if you get back a zero return/reason code, then it was PUT "properly".
This is enough to clear my doubts..
cheers. |
|
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
|
|
|
|