|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How does message flow works? |
« View previous topic :: View next topic » |
Author |
Message
|
gteddy |
Posted: Thu Nov 16, 2006 7:33 pm Post subject: How does message flow works? |
|
|
Novice
Joined: 25 Aug 2006 Posts: 14
|
Are there any books or links discussing about the principles of message flow?
Like how does it work? what's the difference between a message flow and a MQ trigger application? Since they are similar to a certain degree in terms of performing some actions when messages arrive.
Anybody please help, many thanks:) |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 16, 2006 8:33 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You mean other than every single piece of documentation on WMB there is? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
gteddy |
Posted: Sun Nov 19, 2006 5:22 pm Post subject: |
|
|
Novice
Joined: 25 Aug 2006 Posts: 14
|
thanks for you reply,jeff.
in fact, i just want to know what's the difference between a message flow and a MQ trigger application.
I wrote a trigger application to back up the messages on a queue. when message arrives, the trigger application makes a copy of the message and puts it into another queue.
when there is no flow on that queue, everything is fine.
But when i develope a message flow on that queue, the trigger application doesn't work.
The message flow gets the message and leaves the trigger application behind.
It seems that message flow has a higher priority than trigger applications.
why is that? i'm not sure if i've made it clear.
many thanks:) |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Nov 19, 2006 5:38 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It doesn't work because you don't understand MQ well enough.
Only one program will ever get any particular message.
You can never configure MQ to have two programs get the same message.
At least destructively.
There's no reason to do what you're trying to do, anyway.
First off, it's not a great idea to use another queue to "back messages up".
Secondly, it's almost basic use of WMB to have a message flow put a message onto more than one queue. _________________ 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
|
|
|
|