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 » Wild card character performence issue

Post new topic  Reply to topic
 Wild card character performence issue « View previous topic :: View next topic » 
Author Message
kishoreraju
PostPosted: Wed Jul 11, 2007 8:10 am    Post subject: Wild card character performence issue Reply with quote

Disciple

Joined: 30 Sep 2004
Posts: 156

Hi,

I am using wildcard characters to traverse through an xml namespace message. will it have any impact on the performence of the flow.

Ex

The below is sample xmlns message.
<SyncData xmlns="http://www.openapp.org/9" xmlns:ggt="http://www.ggt.appdata.com/9/openapp/1" >
<ggt:ApplicationArea>
<ggt:Name>Test</ggt:Name>
</ggt:ApplicationArea>
</SyncData>

To Access the Name element in the above message i am using the below code
DECLARE
Set name=InputRoot.XMLNS.*:SyncData.*:ApplicationArea.*:Name;
Back to top
View user's profile Send private message
wbi_telecom
PostPosted: Wed Jul 11, 2007 8:19 am    Post subject: Reply with quote

Disciple

Joined: 15 Feb 2006
Posts: 188
Location: Harrisburg, PA

I have used wild cards for namespaces as well as tags before and never noticed any significant performance deterioration. Having said that I used it only when it was necessary i.e. whenever I was sure about the input message structure I always delared the namespaces and avoided anonymous parsing. I used it only when I was expecting multiple messages at a router flow having different namespaces and tags.

BTW You are better off declaring a reference while setting values rather than repeating the entire path till the leaf level element. References definitely are better for performance as well as maintenance.

Cheers,
Back to top
View user's profile Send private message
kishoreraju
PostPosted: Wed Jul 11, 2007 9:13 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2004
Posts: 156

Thanks for the quick reply.

i am using references as well when ever required.
Back to top
View user's profile Send private message
mymq
PostPosted: Tue Jul 17, 2007 2:57 pm    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2007
Posts: 101
Location: US-Greenwille

Hi,

Using wildcard characters to traverse through an xml namespace message might not create performance issue, but you will end up having a name space conflicts if two name spaces are having the similar (not fully) structure.
_________________
--SRK--
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Wild card character performence issue
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.