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 Interchange Server + Adapters » processing a bo with multiple children

Post new topic  Reply to topic
 processing a bo with multiple children « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Thu Nov 17, 2005 10:21 am    Post subject: processing a bo with multiple children Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

can the children within a BO be sorted based on some attribute?
Back to top
View user's profile Send private message
Ratan
PostPosted: Thu Nov 17, 2005 10:25 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

what are you trying to do?
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jeevan
PostPosted: Thu Nov 17, 2005 10:38 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

there are repeating body of a long xml message which comes Source BO and the repeating portion as children BO. there is no one to one relationship between source Children bo and destination children. we need to process source children bos to get one destination children bo. this is one on two attribute in the repeating children bo in the source. if I process one by one hundred of bo has to be created. So I am wondering whether we can group on the attrabute sothat I can finish creating one destination children bo before I start processing another destination Children BO.
Back to top
View user's profile Send private message
Ratan
PostPosted: Thu Nov 17, 2005 11:16 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I dont understand what you said, but there is no automatic sorting. You have to do it on your own.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
vk
PostPosted: Thu Nov 17, 2005 12:53 pm    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

Can you post a sample showing the Source and Destination BO formats?

Regards,
VK.
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Nov 17, 2005 2:24 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

let say, I have a general BO as this

begining of record

header

header
subheader

subheader

body
data


end data

data


end data
end of body
end of whole record

the final structure is

header

record
details record
trailer

final trailer

the details record in the destination is created processing the data in the xml message in the GBO

hope this helps to understand
thanks
Back to top
View user's profile Send private message
christian witschel
PostPosted: Wed Dec 07, 2005 1:08 am    Post subject: Reply with quote

Apprentice

Joined: 07 Dec 2005
Posts: 27

Can't you let the source system do the sorting?
Meaning if the BO is generated from a DB then you have to define a sorting pattern in the source BO decription.

Workaround: Save the data in a Database and pull them back out sorted using the BO definition sorting attributes.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » processing a bo with multiple children
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.