Batching orders from different locations separately using single batching(sequential convoy) orcheatrstion

Thanks for your reply..it really helped !!

My orchestration sends 5 different files to different locations based on routing rules using decide shape.

Now I need to batch files of same location as single message using sequential pattern.How to bind orchestration to receive frm 5 different locations and to batch files from a location together separated frm other location

August 21st, 2015 9:07am

Why dont you create 5 different process for it ?
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 10:14am

Hi..You mean 5 different batching orchestration? Its not good practise-You guys are expert - why can't we achieve thro' generic orchestration for achieving this batching from 4 different locations?

August 21st, 2015 10:38am

Who said its not good practise. Keeping code simple , managebale is good practise.

Ofcourse u can do it in one orch. But in orch u will have to have different condiftions and loops for each batching anyway which would make things not neat. Keeping it separate keeps it clean.

Ur one port will have 5 rcv locations.

Ur genric will be bound to the port and follow the messages coming to the port via different locations. In orch have a check on the location from where its coming and start grouping the relevant messages.

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 10:53am

Hi,

You can use Seqential Convoy to Receive the Messages and once all the messages are in you can combine them and create a new message to send the message.

I cannot see any issues with creating different processes for different locations as suggested by Pi_xel_xar. The best practice is to keep logic simple as long as you have too many process.

Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

Rahul

August 21st, 2015 11:31am

HI ,

Thanks for your reply..

  The process would be that I would map each one of MESSAGE to the correct XML output and then store them in a folder (probably 1 folder for each buyerID of incoming file).  Every 10 minutes, those files would then be batched together into one single XML file ..

So the batching will be done a sequential convoy orchestration and since its messages coming from 4 different folders This will require 4 batching orchestration..Is this what you  are trying to say 'code will be manageable inspite of too many processes'..Please suggest !!

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 1:28am

Hi,

have you tried using correlation here . If you have multiple receive location you can always build a correlation based on the receive port name (one receive port having multiple receive location)  and use multipart message to contract a aggregator message  or you can use Pipeline call to aggregrate .

You can refer below MSDN articles

https://msdn.microsoft.com/en-us/library/aa995576.aspx?f=255&MSPPError=-2147217396

http://social.technet.microsoft.com/wiki/contents/articles/29134.working-with-xlangmessage-inside-orchestration.aspx

Thanks

Abhishek

    

August 24th, 2015 3:38am

Hi,

There are 2 options for you for you:

  • Create different orchestrations for different flows (different receive locations) and keep the process simplet and straight forward.
  • Create a single orchestration which can have parallel processing and each branch would perform its own operation of getting all the files (sequential Convoy) and then aggregating them in a single message and send it.

Rahul

  • Marked as answer by Joshlyn 21 hours 38 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 5:14am

Hi,

There are 2 options for you for you:

  • Create different orchestrations for different flows (different receive locations) and keep the process simplet and straight forward.
  • Create a single orchestration which can have parallel processing and each branch would perform its own operation of getting all the files (sequential Convoy) and then aggregating them in a single message and send it.

Rahul

  • Marked as answer by Joshlyn Monday, August 24, 2015 9:25 AM
August 24th, 2015 9:09am

Hi,

There are 2 options for you for you:

  • Create different orchestrations for different flows (different receive locations) and keep the process simplet and straight forward.
  • Create a single orchestration which can have parallel processing and each branch would perform its own operation of getting all the files (sequential Convoy) and then aggregating them in a single message and send it.

Rahul

  • Marked as answer by Joshlyn Monday, August 24, 2015 9:25 AM
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 9:09am

Hi,

There are 2 options for you for you:

  • Create different orchestrations for different flows (different receive locations) and keep the process simplet and straight forward.
  • Create a single orchestration which can have parallel processing and each branch would perform its own operation of getting all the files (sequential Convoy) and then aggregating them in a single message and send it.

Rahul

  • Marked as answer by Joshlyn Monday, August 24, 2015 9:25 AM
August 24th, 2015 9:09am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics