Author |
Message
|
pathipati |
Posted: Mon Jan 29, 2007 9:25 am Post subject: How to achieve Aggregation Mechanism in ICS? |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
Hi all,
I want to achieve aggregation mechanism(similar to aggregation in WMB) in ICS. Can some one shed some lights on how to achieve this?
Here is what exactly I am trying to acieve..
One Request -> 5 Different Collaborations ->wait (for some period of time 10 sec) for all 5 responses and Combine all 5 responses into one BO -> One Output
Thanks.. |
|
Back to top |
|
 |
Ratan |
Posted: Tue Jan 30, 2007 3:36 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
If you have 5 different collaborations, the responses from the service calls go to their respective collabs. To combine all the responses, you might have to temporarily store the BOs in a database and have an additional collab to retrieve the BOs from the database and combine them or the the last collab that gets the response can combine the BOs stored in the database.
Explain your problem in detail. May be there is a better solution. _________________ -Ratan |
|
Back to top |
|
 |
pathipati |
Posted: Tue Jan 30, 2007 4:36 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
I've one master colloboration calling multiple different colloborations which in turn invokes Stored Procedures, all this happens in serial process. Means after first collobaration's response second one is called in serial which is consuming much time. So what I am excpecting from my master collobaration is to call multiple colloborations in parallel and combine all those responses in to single response. |
|
Back to top |
|
 |
Ratan |
Posted: Tue Jan 30, 2007 5:01 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
That is simple. You dont have to worry about correlating the responses. _________________ -Ratan |
|
Back to top |
|
 |
pathipati |
Posted: Tue Jan 30, 2007 5:09 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
In Process Server I can use Parallel Activity and in Message Broker I can use Aggregation Nodes for calling multiple stored procedures at a time(I mean in parallal) but in ICS I don't know how to call multiple collaborations.. |
|
Back to top |
|
 |
Ratan |
Posted: Tue Jan 30, 2007 5:19 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Just bind collaborations to the ports when you define the collaboration object. _________________ -Ratan |
|
Back to top |
|
 |
ashoon |
Posted: Tue Jan 30, 2007 5:23 pm Post subject: why 5 collaborations??? |
|
|
Master
Joined: 26 Oct 2004 Posts: 235
|
not sure why you really need 5 different collaborations here - sounds like you really just want to send 5 different BO's to different systems and get there responses i.e. a synchronous collaboration with 6 ports - input port and 5 back-end ports...
if you really need 5 collabs then do parrallel processing... |
|
Back to top |
|
 |
|