|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Logging messages before putting and after getting messages |
« View previous topic :: View next topic » |
Author |
Message
|
Balmer |
Posted: Mon Jun 30, 2003 12:39 pm Post subject: Logging messages before putting and after getting messages |
|
|
Novice
Joined: 19 Jun 2003 Posts: 13
|
hi all,
what are the best ways of doing to log messages to a flat file or database table before putting\after getting messages from queues ?
are there any sample applications or support pacs that provide the above functionality?
Can we write API exists to log messages?
what is the best way to log messages before publishing and after subscribing in pub/sub model?
thanks
Balmer |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 30, 2003 1:33 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you're using a database table in conjunction with an MQSeries transaction, you'll want to use XA coordination to ensure that your MQSeries gets/puts are synchronized with your database insert/updates.
As to the best way to log application and system activity, I think that very much depends on your specific requirements. Exactly what information do you want to log? Why are you trying to log the information you want to log (i.e. what are you going to *do* with the logged information)? How much management of logged information do you want to do? How long do you want/need to keep information? And then there's the question of using platform specific logging facilities, or more generic logging facilities. |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Jun 30, 2003 1:33 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I'd suggest going with the API exits. I've never written one myself, but logging messages was a sample use that I've seen given for them. |
|
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
|
|
|
|