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 » Handling large message

Post new topic  Reply to topic
 Handling large message « View previous topic :: View next topic » 
Author Message
sknaini
PostPosted: Tue Jul 19, 2011 4:02 pm    Post subject: Handling large message Reply with quote

Newbie

Joined: 19 Jul 2011
Posts: 6

We have a large XML message with repeating structure.
I am trying to split the XML into smaller XMLs in Java compute Node.
I am unable to find any sample using Java.
Can anybody help on this.

We have chosen Java compute node as we have some stored procdure calls
with arraylits over ESQL compute node.
Back to top
View user's profile Send private message
j.f.sorge
PostPosted: Tue Jul 19, 2011 11:52 pm    Post subject: Re: Handling large message Reply with quote

Master

Joined: 27 Feb 2008
Posts: 218

sknaini wrote:
We have chosen Java compute node as we have some stored procdure calls with arraylits over ESQL compute node.

If you're using ESQL compute node why not split the XML by using references in ESQL?
_________________
IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Wed Jul 20, 2011 12:41 am    Post subject: Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

Put an ESQL-Node in front of your Java Node

...and within you ESQL-Code do some PROPAGES and maybe also RETURN FASE at the end (instead of RETURN TRUE).

Probably you can also use DETACH in combination with PROPAGATE, but I am not sure with that.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Wed Jul 20, 2011 1:25 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

I think you should try partial parsing / processing --which is built in functionality- the large message. Look from samples gallery "Large Messaging sample". I think that the same processing --as in the sample with esql-- is possible with java.

I think MbElement is your friend in manipulating message with java. http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=%2Fcom.ibm.etools.mft.broker.doc%2Fcom%2Fibm%2Fbroker%2Fplugin%2FMbElement.html

And check JavaComputeNodeSampleFlowProject/JavaComputeTransformNoXPathFlow
from samples gallery for guiding you the beginning of the exploration into world of java programming with broker.
--
Marko
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Handling large message
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.