|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Replace a message in a queue |
« View previous topic :: View next topic » |
Author |
Message
|
Bahan |
Posted: Fri Sep 07, 2007 4:53 am Post subject: Replace a message in a queue |
|
|
Apprentice
Joined: 16 Jul 2006 Posts: 47 Location: France
|
Hi everyone.
I have a question about queue and message.
Is there a parameter that allows to substitute a message by another one in a queue of a queue manager in Websphere MQ 6 ?
I have the following system :
Computer 1
Windows 2000
Client MQ 5.2
Computer 2
Unix AIX 5.3
Server MQ 6.0
Computer 3
Windows XP
Client MQ 5.3
The computer 1 puts message into a queue Q of the queue manager QM in the computer 2 and the computer 3 gets this message a little bit later.
Do you know which doc I can maybe read to find the answer of my question ?
Thank you in advance.
Regards.
Bahan _________________ Close the world.||.txen eht nepO |
|
Back to top |
|
 |
Vitor |
Posted: Fri Sep 07, 2007 5:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
There are a number of utilities and support pacs that allow you to pull messages off a queue and add them to another one as an administrative, manual function.
There are tools that let you edit the message on a queue, though under the covers they read the old one off and add the new one on.
But if I'm correct what you're trying to do is get the message from computer 1 to computer 2 and computer 3? This implies a message put using a namelist / distribution list or similar.
Another, less desirable solution would be to use something like the mirrorq exit to duplicate the message arriving at 2 and send it to 3, though I'd be inclined to write an application rather than an exit. Exits are tricky and can cause serious problems, but I'll mention it before someone else does.
Does this answer your question or have I missunderstood? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Sep 07, 2007 5:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
There is not such thing. However you can set up an intermediary queue where your program would read from and post to the destination queue doing the substitution...
You could also use the message broker to do the transformation...
There are 1001 ways to skin this beast  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 07, 2007 6:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'm confused a bit.
Quote: |
The computer 1 puts message into a queue Q of the queue manager QM in the computer 2 and the computer 3 gets this message a little bit later. |
This is basic MQ.
Application 1 puts a message on a queue. Later, Application 2 gets that message from the queue.
In this case, there are clients on computer 1 and computer 3, and there's only one queue manager.
There's no apparent need for duplicating messages, or anything else. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|