WSO2: Proxy Service and Business Process (BPEL)

I'm very new to the WSO2 stack and wondering when should I use a WSO2 ESB proxy and when should I create a business process via BPEL?

I think they do the same thing - performing the task through service composition and some mediation.

+3


source to share


2 answers


There is a fundamental difference between ESB and BPEL.

The role of the ESB is to provide various non-functional properties for business requests. ESB is thus used for example. mediation, transformation, security and request virtualization / proxying. While it can do some simple message enrichment using sequence diagrams, its main purpose is to advertise messages between different services / hosts on the system.



On the other hand, BPEL is designed to implement business services and handle complex business workloads. Therefore, the role of BPEL is to provide functional properties for a business process; implementing the logic of business processes.

Thus, ESB and BPEL work together to provide a separation of concerns that is often emphasized by components and service-oriented architectures.

+5


source


If you have a well defined long running business process, then you need to use WSO2 BPS. You can use WSO2 ESB for a shorter process with a shorter lifecycle. WSO2 BPS has many integration points that you can manage your business process with features like Human Tasks. An ESB, on the other hand, has capabilities, but can be inconvenient and optimized as a BPS for lengthy, well-defined business processes.



+2


source







All Articles