|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Multiple Transactions on the same queue |
« View previous topic :: View next topic » |
Author |
Message
|
LH33 |
Posted: Thu May 22, 2003 12:12 pm Post subject: Multiple Transactions on the same queue |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
HI!
I have a requirement that will have an application put 5 different XML transactions on the same queue. I am looking for the right way to code a messge flow or flows to process the transactions. Each transaction has different data transformation logic associated with it.
Would I have 1 flow that reads the queue and based on a unique "Action" XML tag, put the message on another queue that has a separate flow associated with that transaction. In other words I would have 1 queue coming into one flow that would send each of the 5 different transactions to a queue just for that transaction type and have a message flow per transaction type to then do the data transformations. Or would I have just one flow that has a compute node that has a case statement for the 5 types and does the logic for each type in the same flow?
There are a lot of transformations that need to occur and I am concerned about peformance if it is all in one flow.
Any suggestions would be greatly appreciated!
Thanks!! |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 22, 2003 12:36 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
A typical design would be
One queue
A compute node to figure out which type of transaction it is, and assign a label (in your case, probably just set the label to the value of the ACTION tag)
A Route to Label node
A set of Label nodes linked to a string of compute and other nodes for processing each type of transaction.
This allows you more flexibility for adding transaction types or changing how a transaction works without requiring the additional administrative overhead of more queues and message flows.
But if the transactions are fairly different from each other - different data sources, different error handling, etc - you're probably better off using multiple queues. |
|
Back to top |
|
 |
LH33 |
Posted: Thu May 22, 2003 1:24 pm Post subject: |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
Thanks for the information!
Can you direct me to where I can find documentation on Label Nodes. I looked in the Websphere programming guide and couldn't find anything on them
Thanks! |
|
Back to top |
|
 |
kirani |
Posted: Thu May 22, 2003 3:33 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Take a look at Using Control Center manual or the Control Center online help. _________________ 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 |
|
 |
|
|
 |
|
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
|
|
|
|