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 » General Discussion » what is the best design practice

Post new topic  Reply to topic
 what is the best design practice « View previous topic :: View next topic » 
Author Message
Ajju.
PostPosted: Tue Oct 29, 2002 2:35 pm    Post subject: what is the best design practice Reply with quote

Voyager

Joined: 26 Jul 2002
Posts: 77

Well folks i have one web application talking to multiple legacy db's.

that is my web appication can put 5 different types (Types means different data content in XML format) of messages in a queue.

so what is the best practice in industry for this type of appication :

i.e, shud i create 5 different queues for each message or shud i create just one queue for all message... keping in mind that all the queues are connected to only one QM from where the message is then processed according to data in it.


pl. advice,
Ajit
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Oct 29, 2002 10:12 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I would use only one queue for all these message types. I would use some field in MQMD header, like MsgType or ApplIdentityData to indicate what is the format of the XML message.
_________________
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
Ajju.
PostPosted: Wed Oct 30, 2002 6:00 am    Post subject: Reply with quote

Voyager

Joined: 26 Jul 2002
Posts: 77

thanks kiran,
Even i am in favour of using only one queue, but let me put my question in this way.

I have one web application talking to multiple legacy db's(to be specific 5 db's).

that is my web appication can put 5 different types XML message (Types means different data XML format) in a queue.

and the remote QM has 5 different applications which picks up the message using triggering functionality and CICS transactions.

so what is the best practice in industry for this type of appication :

i.e, shud i create 5 different queues for each message for 5 different applications

what if the remote queue becomes full because the destination queue specific application which picks of the message does not work or is down for maintanance. so what i want is the remaining 4 applications shud work independent of each other.


thanks,
Ajit
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Oct 30, 2002 8:42 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

If each message type invokes a different "business function or business process" then I strongly suggest that you use separate queues.

This allows for a simple design (plus scalable) and the receiving application does not have to search the queue for its message type (because with separate queues you know that only a specific message type will be in a given queue).

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Ajju.
PostPosted: Thu Oct 31, 2002 5:34 am    Post subject: Reply with quote

Voyager

Joined: 26 Jul 2002
Posts: 77

Thanks Roger & kiran.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » what is the best design practice
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.