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 » Blank Lines in TDS

Post new topic  Reply to topic
 Blank Lines in TDS « View previous topic :: View next topic » 
Author Message
IntegratorWMB
PostPosted: Thu May 01, 2008 5:27 am    Post subject: Blank Lines in TDS Reply with quote

Apprentice

Joined: 06 Dec 2007
Posts: 27

I have an incoming messages which looks like this:

LINE1
LINE2
LINE3
LINE4
...
LINE(N)

etc.,

I designed the messags as TDS

TOP element {ComplexType- orderedset/closed } with AllElementsDelimited and the Delimiter as <LF> and the {ComplexType} contains only one local String Element

This was working fine until I found some of the applications are sending more BlankLine/s in between the message. This results in choping of output message only up to the first blank line

e.g. (Input)
LINE1
LINE2
LINE3
BLANKLINE
BLANKLINE
LINE4

Output
LINE1
LINE2
LINE3

Rest is not parsed. Since the parsing is done @ the MQInputNode, I am unable to see any Exceptions also. How can I design a message set that takes care of the blank lines.

BTW, I am using WMB 6.1 and also I tried selecting nillable etc., it doesn't help. Any inputs appreciated.
Back to top
View user's profile Send private message
siljcjose
PostPosted: Thu May 01, 2008 7:02 am    Post subject: Reply with quote

Apprentice

Joined: 18 Aug 2005
Posts: 27

On the MqInput Node properties, On the Parser Options tab choose Parsing Time Immediate. This will help you get the exceptions.
Back to top
View user's profile Send private message
IntegratorWMB
PostPosted: Thu May 01, 2008 8:31 am    Post subject: Reply with quote

Apprentice

Joined: 06 Dec 2007
Posts: 27

As they say its all in the manuals. After going through the "Delimiter suppression and Truncation Rules" I modified the Supperss Absent Element Delimiters to Never, it took care of blank line/s.

Thanks on the 'Immediate' setting for catching exception happening during parsing in InputNodes.
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 » Blank Lines in TDS
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.