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 API Support » Copying Messages to new Q

Post new topic  Reply to topic
 Copying Messages to new Q « View previous topic :: View next topic » 
Author Message
Rookie
PostPosted: Tue Apr 23, 2002 8:09 am    Post subject: Reply with quote

Newbie

Joined: 17 Apr 2002
Posts: 6

Hi all,
I have Q based app (Put/Get), and was wondering if there was a way to put a copy of every message which showed up on the Queue on to another Q.
I looked at modifying MQBrowse but I am not sure if I can capture *every* single message as it comes onto the Queue.

Any sugestions?

thanks

Back to top
View user's profile Send private message
kirani
PostPosted: Tue Apr 23, 2002 8:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

You can modify your put application to write message to one more additional queue. Or modify get application which first copies the message to second queue and do further processing.


_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Rookie
PostPosted: Tue Apr 23, 2002 8:45 am    Post subject: Reply with quote

Newbie

Joined: 17 Apr 2002
Posts: 6


That would work if I controlled the Application.
However, I have no control of the Get/Put Apps, I do have access to the MQserver though.
I am wondering if there is any way to write some kind of exit, which copies the message to another Queue.

thanks
Back to top
View user's profile Send private message
StefanSievert
PostPosted: Tue Apr 23, 2002 10:04 am    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

Take a look at http://www-4.ibm.com/software/ts/mqseries/txppacs/ma06.html
I think this is what you are looking for.
Stefan

_________________
Stefan Sievert
IBM Certified * MQSeries


[ This Message was edited by: StefanSievert on 2002-04-23 11:04 ]
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Apr 23, 2002 10:14 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Is the Source Application on the same machine as the Destination Application???

If they are on diffrent machines you can insert an application between them to
put to the both queues.



_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Rookie
PostPosted: Wed Apr 24, 2002 6:03 am    Post subject: Reply with quote

Newbie

Joined: 17 Apr 2002
Posts: 6

Stefan
Thanks for the info. I will look into the code.
Rookie
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Apr 24, 2002 9:10 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

Hi,

There is also the program that I wrote called "Message Multiplexer" (MMX). It will copy messages from a source queue to "n" number of destination queues.

It is written in 'C' and it is being used on a variety of platforms (WinNT, Unix & MVS). You can download it at
http://www.geocities.com/capitalware/mqseries.html

later
Roger...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Copying Messages to new Q
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.