Hi All,

The BPS we can define to call a methods simultaneously within the workflow.
[image: Inline image 1]

Same thing can be done using the java threads. There are two implementation
available to tackle this problem.
1). Using java Executor interface[1]
2). Using runnable interface[2]

[1]
http://stackoverflow.com/questions/18162863/how-to-run-different-methods-parallely
[2]
http://stackoverflow.com/questions/9664036/how-to-run-two-methods-simultaneously

Which option is better. WDYT.

Thanks.

--
Best regards,

*Lahiru Manohara*
*Software Engineer*
Mobile: +94716561576
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to