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 » Archive MQ Message into file system

Post new topic  Reply to topic
 Archive MQ Message into file system « View previous topic :: View next topic » 
Author Message
rekapalli_ravi
PostPosted: Tue Aug 19, 2003 10:15 am    Post subject: Archive MQ Message into file system Reply with quote

Novice

Joined: 17 Jun 2002
Posts: 10

Hi,

I have an MQSeries Queue manager (V5.2.1) running on a Sun OS. We have a Java application listening to a Queue and we want to archive these messages (XMLs) into a file system before they are picked up by the Java application. We have a limitation where we can not modify the java application. So any direction how to handle this from MQSeries itself ?

Thanks and any help is appreciated.
Back to top
View user's profile Send private message AIM Address
skn
PostPosted: Tue Aug 19, 2003 10:27 am    Post subject: Reply with quote

Centurion

Joined: 21 May 2003
Posts: 112
Location: Dallas

Theres point if mq lets you archive your messages.that should be done in you application.If you cant change the existing application , try using a mirror queue and write a program that feeds of that mirror queue and records your messages.
Back to top
View user's profile Send private message
clindsey
PostPosted: Tue Aug 19, 2003 12:30 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

You can code an API Exit to accomplish what you are trying to do. I believe the API Exit is supported on solaris as of CSD04 on 5.2. For sure it is at the latest level which now is CSD07.

You will need to write an "MQGET before" function and register it. In this function you can do your writes to file. This function will be called by MQ prior to the GET by your java application. API Exits can only be written in C. You can find a sample, amqsaxe0.c in /opt/mqm/samp.

Charlie
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 » Archive MQ Message into file system
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.