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 » WebSphere Message Broker (ACE) Support » Multiple Transactions on the same queue

Post new topic  Reply to topic
 Multiple Transactions on the same queue « View previous topic :: View next topic » 
Author Message
LH33
PostPosted: Thu May 22, 2003 12:12 pm    Post subject: Multiple Transactions on the same queue Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu May 22, 2003 12:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
LH33
PostPosted: Thu May 22, 2003 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Thu May 22, 2003 3:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Multiple Transactions on the same queue
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.