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 » Good Practice

Post new topic  Reply to topic
 Good Practice « View previous topic :: View next topic » 
Author Message
Lucky
PostPosted: Tue Mar 18, 2008 3:22 am    Post subject: Good Practice Reply with quote

Apprentice

Joined: 06 Feb 2007
Posts: 35

Scenario: My Applciation will send different types of XML messages to one single Q for a message flow.

XML messages are left with no clue what is the type of the message. No specific fileds like MessageType / TransactionType are sent along with the messages.

Is it a good way to identify the type of XML message based on Root XML tag of the message?
Please give your suggestions...
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 18, 2008 3:32 am    Post subject: Re: Good Practice Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Lucky wrote:
Is it a good way to identify the type of XML message based on Root XML tag of the message?


If that's all you've got (nothing in an RFH2 header, all piled up on the same queue, etc) then it sounds like it's the only way. It's also not a bad way of doing it in terms of performance, coding and so forth. Does rely on the root tag being unique of course.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 18, 2008 3:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MRM-XML will identify your message by root tag...
_________________
I am *not* the model of the modern major general.
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 » WebSphere Message Broker (ACE) Support » Good 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.