jbosssoaeaijboss-esb

What is the difference between One-way MEP and Request-response MEP?


In the JBossESB Programmer’s manual it is mentioned as:

“All interactions between clients and services within JBossESB occur through the exchange of Messages. In order to encourage loose coupling we recommend a message-exchange pattern based on one-way messages, i.e., requests and responses are independent messages, correlated where necessary by the infrastructure or application.”

But if requests and responses are independent messages for one-way MEP, then what is its difference between Request-response MEP?

And what is the actual advantage of using each of them?


Solution

  • Request-response

    One-way

    Sync-over-async