Parallel Shape
Ok, with the risk to appear a novice one, I just will ask this question that is always on my head.
By the info on the net, I guess that Parallel Shape does'nt work multithread way. So what are the pros to work with parallel if it doesn't work parallel, I think it is just a design time feature to make things look better. Please correct me if I'm wrong.
with regards,
AG
Alberto - the Parallel Shape is specificy for receiving multiple messages into an orchestration - when you don't know what order those messages are going to be received - and you don't want the orchestration to continue until all the messages have been received.
You can also do some processing at each brach after each message has been received - although if you access shared data you will need to use a synchronized scope - because although parallel isnt multi-threaded - it is scheduled - so the first shape in the first branch could execute - then the first shape in the second branch could execute before the second shape in the first branch.