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 » How to handle Repeating Elements with dynamic Repeat Count

Post new topic  Reply to topic
 How to handle Repeating Elements with dynamic Repeat Count « View previous topic :: View next topic » 
Author Message
meenas
PostPosted: Thu Dec 15, 2005 3:47 am    Post subject: How to handle Repeating Elements with dynamic Repeat Count Reply with quote

Newbie

Joined: 30 Nov 2005
Posts: 5

Hi All,

I have a complex Message Definition with several repeating elements. The Repeat Count of these structures will be dynamic. Can I specify the Repeat Count based on some condition? - like exit repeating if a particular pattern is reached - this is how I used to do it in SeeBeyond. Can the same be done in WBIMB?
If not how can it be done?

This Message Set is the one which I will get in my MQ Input Node. The node has to parse automatically for the repeating structures also.

Thanks & Regards,
Meena.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 15, 2005 4:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are the repeat counts going to be in your message? That is, is there going to be an element of your message that says "the next group will have x repeats in it"?

If it does not, you have to use the Tagged Delimited String (TDS) parser in the MRM.

TDS requires that you have some means of identifying each repeating segment - either a tag or a delimiter or a pattern.

TDS also supports the use of regular expressions for matching data.

So yes, you can do this. I highly recommend you get some training on Broker. Even with experience in other tools, it is not a simple thing to get up to speed with.

If you can't get training, or you don't have time for training, then you should sit down and read read read. The Broker Info Center has a lot of information about using the MRM and the TDS parser, including some examples. There is also a PDF about working with messages that should be a good help.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
recallsunny
PostPosted: Thu Dec 15, 2005 1:20 pm    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts

Jeff's right, even with knowledge of other similar EAI tools, it doesn;t help clear the obscurity around message sets.... Take the advice and get back to the drawing board
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Dec 15, 2005 1:53 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

...and in case you didn't get the message, Jeff's right. TDS can do what you want, but you'll need to read up on how to do it. Parsing is a deceptively difficult thing to do, whatever technology you use. Feel free to ask again once you've grasped the basics.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 15, 2005 2:13 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kimbert wrote:
Parsing is a deceptively difficult thing to do,


First, pretend you're a Turing machine....

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
meenas
PostPosted: Thu Dec 15, 2005 8:46 pm    Post subject: Reply with quote

Newbie

Joined: 30 Nov 2005
Posts: 5

Hi Jeff, Kimbert & Sunny,

Thanks a lot for the response.

I'm attending WBIMB training by IBM next week. Will also go through the documents on Message Modelling.

Thanks for your valuable suggestion.

Regards,
Meena.
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 » How to handle Repeating Elements with dynamic Repeat Count
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.