Author |
Message
|
j1 |
Posted: Fri Apr 07, 2006 5:15 am Post subject: Wrirting a channel exit or triggered process to audit get's |
|
|
 Centurion
Joined: 23 Jun 2003 Posts: 139
|
Hi Folks, What would be the best way to audit messages as they are gotten from a queue by client programs. A triggered process can be triggered only on the PUT of a message. So, I was thinking of a channel exit. What would be the best way to go about this. Any ideas ? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Apr 07, 2006 5:31 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Channel Exit. Or API Exit at the QM level.
What exactly do you want to audit? If its just message counts, good ol' Q Statistics will do it right out of the box. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
j1 |
Posted: Fri Apr 07, 2006 5:34 am Post subject: |
|
|
 Centurion
Joined: 23 Jun 2003 Posts: 139
|
what is an API exit. I want to audit the MQMD.UserIdentifier, get time etc... when a message is got from the queue. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Apr 07, 2006 5:36 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Search this site.
Search the MQ Manuals.
Search the MQ Info center.
An API exit is configured at the QM level and gets invoked when an app issues an MQ API call. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 07, 2006 11:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sk1 wrote: |
what is an API exit. I want to audit the MQMD.UserIdentifier, get time etc... when a message is got from the queue. |
Write the logging part in the application and don't give any get rights to the queue but for the application.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|