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 » IBM MQ Installation/Configuration Support » Queue Archiving / Logging

Post new topic  Reply to topic
 Queue Archiving / Logging « View previous topic :: View next topic » 
Author Message
naek
PostPosted: Thu Jan 18, 2007 1:21 am    Post subject: Queue Archiving / Logging Reply with quote

Newbie

Joined: 10 Jan 2007
Posts: 6

Hello

I want to know is it possible to archive/log every message that arrived/departed into/from a queue without any modification to code which send the message ( by specify the report). I want the configuration only takes part in Queue Manager or by means of administrative configuration task only.

I want it as a mechanism of message journaling in my application.

The term "archive" or "logging" may not appropriate in this context but I hope all of you understand what I mean.

I use MQ 5.3 on Windows 2003.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Jan 18, 2007 1:27 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

api exit (if application is connected to you rqueuemanager) and or channel message exit (incoming / outgoing messages via channel) is what you need.

but i recommend to include application journaling in the application.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 18, 2007 2:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The sample API exit "mirrorq" does exactly this.

There are several things you need to consider, though.

1) What are you going to do with these duplicate messages? Just leave them sitting on a queue?
2) How important is this function? Is it worth doubling the load on your queue manager?
3) Is it allowable under your policies to implement an entirely unsupported code sample in production?

I'm with Mr Butcher - I recommend application journalling in the application.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Tibor
PostPosted: Thu Jan 18, 2007 8:25 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

If you have a message broker in the MQ environment, you can use it to log the messages.
Back to top
View user's profile Send private message
naek
PostPosted: Sat Jan 20, 2007 11:27 pm    Post subject: Reply with quote

Newbie

Joined: 10 Jan 2007
Posts: 6

Hi all thanks for your suggestion. API exit exactly what I need to solve my queue journaling problem.

It is very important in my application to log every message that arrives into the queue as one way of application audit. The mirror queue will be processed at 'cut off' time and than going to application report. Modify current application is not possible because of some development restriction.

Event currently API exit solves my problem, I actually curious what actually going on behind the scene, and why "exit" term is used in that context, any good resource references are welcome....
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Jan 21, 2007 6:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

An exit is a place where the queue manager code executes user-written code inside it's own process.

It's like a plugin.

If the application can't be built to meet a business requirement, and "audit trail" and "application report" are both business requirements, then the development team is not doing their job.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Queue Archiving / Logging
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.