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 » Clustering » Writing A Security Exit For Copying the Message to N Queues

Post new topic  Reply to topic
 Writing A Security Exit For Copying the Message to N Queues « View previous topic :: View next topic » 
Author Message
abiram8
PostPosted: Tue Dec 23, 2003 4:20 am    Post subject: Writing A Security Exit For Copying the Message to N Queues Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,

I have critical requirment of putting the messsage from Central Queue Manager Queue (QM1.Q1) to
Queue Manager queue to another Queue(QM2.Q1) and (QM3.Q1).

( All QM1.Q1,QM2.Q1,QM3.Q1 all in a Cluster)

QM1 , QM2,QM3 resides in different Hosts (different Box).

One option is to have a Exit Prog on the sender (QM1) to transfer the message from QM1.Q1 to QM2.Q1 and QM3.Q1 (Copy one message and put into another).

I donot want my Java Programme/Distribution List to do this

But Iam not sure Whether a Exit Prog can be written to this particular requirments (Or if they have some limitaions ).

If you know Any Exit Prog or Support Pack which will help me Please let me know.

Looking for your Valuable Inputs,
Abiram
Back to top
View user's profile Send private message Send e-mail
clindsey
PostPosted: Tue Dec 23, 2003 6:56 am    Post subject: Reply with quote

Knight

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

Abiram,

You can do this with the API Exit and the code is already done for you. You can get it from http://www.developer.ibm.com/tech/sampmq.html.
Just download the appropriate one for your operating system. After you download the package, look at the source file, mirrorq.c. The instructions for setting it up are in the prolog of the source code. It is very easy to set up.

This program, "mirrorq" uses a Namelist to let you define a source queue plus a target queue and queue manager. However, you can only define a source queue one time in the namelist. So, to accomplish what you want, you will need to first define an alias queue for your source queue. Then in the namelist on QM1 you can put "Q1, Q1, QM2, alias_name, Q1, QM3". This will cause all messages written to Q1 on QM1 to be copied to Q1 on both QM2 and QM3.

Let me know if you have any problems with the setup.
Charlie
Back to top
View user's profile Send private message
abiram8
PostPosted: Tue Dec 23, 2003 8:14 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi clindsey,

Thanks for your Input.

The link did not work .I think the programme is transfered to other link Please let me know the correct link.

Thanks
Abiram
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Tue Dec 23, 2003 11:05 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Took me less than 2 minutes to find this:
http://www.developer.ibm.com/tech/sampmq.html
The problem was the trailing '.'.
And this:
http://www.developer.ibm.com/tech/sample_code_handler.pl?action=download&object=/tech/sample_code/mq/mirrorq1_win.zip

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
abiram8
PostPosted: Wed Dec 24, 2003 12:28 am    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,

Thanks for your Inputs the link was really usefull


Abiram
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Writing A Security Exit For Copying the Message to N Queues
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.