ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Logging messages before putting and after getting messages

Post new topic  Reply to topic
 Logging messages before putting and after getting messages « View previous topic :: View next topic » 
Author Message
Balmer
PostPosted: Mon Jun 30, 2003 12:39 pm    Post subject: Logging messages before putting and after getting messages Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 30, 2003 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Mon Jun 30, 2003 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Logging messages before putting and after getting messages
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.