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 » Processing Large XML with Containers

Post new topic  Reply to topic Goto page Previous  1, 2
 Processing Large XML with Containers « View previous topic :: View next topic » 
Author Message
prasunad
PostPosted: Mon Aug 18, 2014 8:12 am    Post subject: Reply with quote

Novice

Joined: 10 Jul 2014
Posts: 22

Yes Vitor, This has been asked already, but it is a case i have been assigned to which has been pre-agreed.
Been saying, for Bulk data use ETL and not ESB..
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 18, 2014 8:36 am    Post subject: Reply with quote

Grand High Poobah

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

prasunad wrote:
it is a case i have been assigned to which has been pre-agreed.


Tell them to look up "rework" in a dictionary.

prasunad wrote:
Been saying, for Bulk data use ETL and not ESB..


It's a valid point; really depends on the payload of the XML.

You should at least mention your life will be greatly simplified if they abandon XML so you can use a streaming parser. Whatever they've got at the other end (and I assume some kind of unload utility based on your example XML) shouldn't find that much of a problem.

Failing that, and to return to your original point, you've no option but to slice this by hand or used parsed record sequence (which I don't think will work in your particular case because you need to record container headers) and watch your resource usage climb.

Increasing of course the risk that the flow will abend with an out of resource error halfway through processing.....
_________________
Honesty is the best policy.
Insanity is the best defence.


Last edited by Vitor on Mon Aug 18, 2014 8:39 am; edited 1 time in total
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 18, 2014 8:38 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

XMLNSC is a streaming parser.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 18, 2014 8:40 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
XMLNSC is a streaming parser.


I apologise if I've offended with the wrong terminology, and I await (as does the OP) a solution that allows the streaming of a 2Gb+ XML file stanza by stanza.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 18, 2014 9:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
XMLNSC is a streaming parser.


I apologise if I've offended with the wrong terminology, and I await (as does the OP) a solution that allows the streaming of a 2Gb+ XML file stanza by stanza.


None of the streaming parsers support more than 2gb. That's the RFE.

XMLNSC will let you use parsed record sequence to stream out stanza by stanza. As long as the file is less than 2Gb.
Back to top
View user's profile Send private message
prasunad
PostPosted: Tue Aug 19, 2014 12:39 am    Post subject: Reply with quote

Novice

Joined: 10 Jul 2014
Posts: 22

Got a doubt, if i dont need to send the record headers to the target, then will the slicing work..
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 19, 2014 4:49 am    Post subject: Reply with quote

Grand High Poobah

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

prasunad wrote:
Got a doubt, if i dont need to send the record headers to the target, then will the slicing work..


Using parsed record slicing never "works", it functions while consuming huge amounts of resource.

But you should be able to parse such that the <pl> and </pl> forms a single record (as one of my worthy associates mentioned earlier). I hope you a) have a lot of memory availble to the broker b) don't have a tight SLA c) don't have very large stanza and d) are ready for disapointment when you find it doesn't actually work out.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 19, 2014 5:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

mqjeff wrote:

XMLNSC will let you use parsed record sequence to stream out stanza by stanza. As long as the file is less than 2Gb.


I thought the whole point of parsed record was to overcome that 2GB limit.
My understanding was that the single message in parsed record had to be under 2GB. So if you eliminate the xml root here (Data), you'd have multiples of <pl>....</pl>. Using the pl tag as root xml, are you saying that the file still needs to be under 2GB?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Processing Large XML with Containers
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.