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 » variable length message set

Post new topic  Reply to topic
 variable length message set « View previous topic :: View next topic » 
Author Message
ShaileshBajaj
PostPosted: Mon Jan 15, 2007 11:45 pm    Post subject: variable length message set Reply with quote

Newbie

Joined: 04 Jul 2006
Posts: 6

Hi

I need to model a message set and message flow(s) (WBI v6) to handle variable length message.
Basically there is a header segment and (1..n) Data Segment, here n has no upper value defined.
Each Seg length is 360 Characters.
The header segment has multiple fields of fixed length.
So also the Data segment has multiple fields of fixed length.
The structure of the Data Segment remains the same for all Data segments.
The Header and Data seg have different structure and fields.

Do we have any ideas to handle this.

Thanks in advance.
Back to top
View user's profile Send private message Yahoo Messenger
gregop
PostPosted: Tue Jan 16, 2007 12:22 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

You'll need to model this as TDS (as I think CWF needs to know the number of repeats either by value or reference to another element).

Create a complex type for the header and another complex type for the detail with fixed length elements.

Create a message, add 2 elements one with type=header and the other with type=detail. Max occurs for detail = -1.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jan 16, 2007 1:21 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

gregop is correct. Just a small clarification:
Quote:
I think CWF needs to know the number of repeats either by value or reference to another element
That used to be true in v5. In v6, both TDS and CWF can handle structures which repeat without limit. CWF can only do it when the repeating structure is at the end of the bitstream. TDS can handle a repeating structure in the middle of a message, as long as the strucure can be identified in some way ( by a tag or a special delimiter or a data pattern ).
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 » variable length message set
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.