|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Reports on expired message not found |
« View previous topic :: View next topic » |
Author |
Message
|
Zyklark |
Posted: Wed Oct 15, 2014 7:04 am Post subject: Reports on expired message not found |
|
|
Newbie
Joined: 15 Oct 2014 Posts: 4
|
Hi, I am using amqsput0.c sample program to put a message to a local queue with the following options: MQMD.expiry=60secs, MQMD.reportoption = exception with data, MQMD.replytoQ = EXPIRY.REPORTS (local q), MQMD.replytoQMgr = TESTQ (local qmgr).
After putting the message to the intended queue, I am able to browse the message using IBM MQ explorer and check the MQMD options that i set. I verified them to be correct.
Now after the message expires, it disappears from the queue that i posted it in. I expect to find the report message in EXPIRY.REPORTS queue. But i dont see any message there!!! I use IBM MQ explorer to check report messages in EXPIRY.REPORTS queue. I also opened up the binary file under /var/mqm/qmgrs/TESTQ/queues/EXPIRY.REPORTS. But no entry corrseponding to the report message there too!
Note: I created EXPIRY.REPORTS queue as a LOCAL queue. I dont see any relevant error messages in the /var/mqm/errors or /var/mqm/qmgrs/TESTQ/errors folder. I am working using local queues and local queue manager. MQ version is 7.5.2
Any suggestions? Thanks! |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 15, 2014 7:15 am Post subject: Re: Reports on expired message not found |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Zyklark wrote: |
Any suggestions? |
Well...
Zyklark wrote: |
Hi, I am using amqsput0.c sample program to put a message to a local queue with the following options: MQMD.expiry=60secs, MQMD.reportoption = exception with data |
If you want a report when a message expires, wouldn't expiration with data be a better choice of report option? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Zyklark |
Posted: Wed Oct 15, 2014 7:19 am Post subject: |
|
|
Newbie
Joined: 15 Oct 2014 Posts: 4
|
Well, I am trying the concept of generating a report on message expiry. Currently my test messages are less than 25 bytes of data.
After i see it work, i will decide on whether to generate a report with "full message" or "first 100 bytes of data". The current setting is to generate report with first 100 bytes of data.
I dont see the expiry report message in the queue mentioned in "replytoQ". |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Oct 15, 2014 7:29 am Post subject: Re: Reports on expired message not found |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Zyklark wrote: |
Hi, I am using amqsput0.c sample program to put a message to a local queue with the following options: MQMD.expiry=60secs, MQMD.reportoption = exception with data, MQMD.replytoQ = EXPIRY.REPORTS (local q), MQMD.replytoQMgr = TESTQ (local qmgr). |
You want an expiration report.
You are asking for an exception report. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 15, 2014 7:31 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Zyklark wrote: |
I dont see the expiry report message in the queue mentioned in "replytoQ". |
No, you won't.
You've set the report option as exception with data.
As I said before, if you want an expiry report maybe you should set expiration with data.
Zyklark wrote: |
After i see it work, i will decide on whether to generate a report with "full message" or "first 100 bytes of data". The current setting is to generate report with first 100 bytes of data |
Fair point.
But you won't see anything with your current report unless it blows up. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Zyklark |
Posted: Wed Oct 15, 2014 9:33 am Post subject: |
|
|
Newbie
Joined: 15 Oct 2014 Posts: 4
|
Vitor, PeterPotkay, Thanks a lot! That addresses the problem! |
|
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
|
|
|
|