Author |
Message
|
nthepak |
Posted: Mon Dec 19, 2005 9:24 pm Post subject: Archiving messages from MQ Log files |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
Hi All,
Is there any utility to retrieve specific messages from MQ Log file so that i can replay them. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Dec 19, 2005 11:40 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
yes, afaik there are commercial products to archive this.
google for it. _________________ Regards, Butcher |
|
Back to top |
|
 |
nthepak |
Posted: Tue Dec 20, 2005 4:25 am Post subject: |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
Mr Butcher wrote: |
yes, afaik there are commercial products to archive this.
google for it. |
Thanks for the reply.
I googled and was only able to find Log extract program for OS/390 platform. But I want the same for Solaris 8.0 platform. _________________ BR,
Deepak N |
|
Back to top |
|
 |
javagate |
Posted: Tue Dec 20, 2005 4:32 am Post subject: |
|
|
 Disciple
Joined: 15 Nov 2004 Posts: 159
|
I believe the Premier Sponsor of this site may something that will be helpfull. Cressida Technology but they are pricy. _________________ WebSphere Application Server 7.0 z/OS &
MQ 6.0. I work with WebSphere in the real world not in some IBM lab. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Dec 20, 2005 4:37 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Another approach would be to use a sample program like mirrorQ (which has gotten a lot of play here lately) to save those messages that you think you might want to replay in advance. its a more straightforward approach. of course, the down side is that you need more dasd and a way to dispose of the messages once you no longer need them. _________________ -wayne |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 20, 2005 4:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The approach I've taken in the past is to do something (like use MirrorQueue) to split messages into two queues. Then the second queue is processed by a program that archives messages into a database. Then messages can be extracted and rebuilt if they need to be replayed, and they can be searched and sorted in the database, and any sort of retention policy necessary can be maintained... based on message age or any other criteria you want.
It is more complicated.
But relying on the MQ logs to hold information for you isn't the best idea, in my opinion. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
javagate |
Posted: Tue Dec 20, 2005 4:51 am Post subject: |
|
|
 Disciple
Joined: 15 Nov 2004 Posts: 159
|
The root problem here is that companies use MQ for an ofline use, such as storing messages like a data base. Then they look for ways to recover them. _________________ WebSphere Application Server 7.0 z/OS &
MQ 6.0. I work with WebSphere in the real world not in some IBM lab. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 20, 2005 4:55 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I agree. That's why I said... "relying on the MQ logs to hold data for you isn't the best idea".
But if nthepak is up a creek, and Cressida's replay tool is his or her only paddle, then good luck and it's a good thing it's there. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Dec 20, 2005 5:00 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
But the requirement for "message replay" has nothing to do with using MQ like a database. often, I've heard of situations where a message was sent to an application, which was incorrectly processed, and now you have to "resend" the message. (Yeah yeah, I know the line about better application testing.... )
Quote: |
But if nthepak is up a creek, and Cressida's replay tool is his or her only paddle, then good luck and it's a good thing it's there. |
Hopefully, its a persistent message and linear logging is in play... _________________ -wayne |
|
Back to top |
|
 |
|