|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Writing A Security Exit For Copying the Message to N Queues |
« View previous topic :: View next topic » |
Author |
Message
|
abiram8 |
Posted: Tue Dec 23, 2003 4:20 am Post subject: Writing A Security Exit For Copying the Message to N Queues |
|
|
 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 |
|
 |
clindsey |
Posted: Tue Dec 23, 2003 6:56 am Post subject: |
|
|
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 |
|
 |
abiram8 |
Posted: Tue Dec 23, 2003 8:14 pm Post subject: |
|
|
 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 |
|
 |
EddieA |
Posted: Tue Dec 23, 2003 11:05 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
|
Back to top |
|
 |
abiram8 |
Posted: Wed Dec 24, 2003 12:28 am Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi,
Thanks for your Inputs the link was really usefull
Abiram |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|