Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to realize the principle of proxy Axis2 server by Apache Synapse ESB

Shulou Source: shulou.com Published: 2022-06-01 23:42:42 11月11日 Update

This article shows you how Apache Synapse ESB implements the principle of proxy Axis2 server. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Apache Synapse is a lightweight, high-performance enterprise service bus (ESB). Apache Synapse is supported by a fast and asynchronous mediation engine, which provides excellent support for XML,Web services and REST. The following is about the principle of ESB enterprise service bus Apache Synapse proxy service.

Preparatory work

Java runtime: JDK1.7 version (official recommendation: Java Runtime-1.6.0 run 23 or later JDK or JRE)

Apache Ant http://ant.apache.org

Axis2 server http://axis.apache.org/axis2/java/core/download.cgi

After compiling the synapse-distribution project successfully, the Synapse package synapse-3.0.0-bin.zip is generated. Open the cmd window and change to the F:\ synapse-3.0.0\ bin directory, execute the command synapse.bat-sample 0, and the console outputs the following log:

If the console outputs a "INFO SynapseServer Apache Synapse started successfully" message, the SynapseServer service starts successfully.

This step does not use Apache Synapse's native Axis2 server service, but downloads the Axis2 server installation package directly. First, use the Ant command to compile the service case, such as SimpleStockQuoteService in the following figure directory:

Execute the build.xml file to generate SimpleStockQuoteService.aar

The above is how Apache Synapse ESB implements the principle of proxy Axis2 server. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Services principles agents success enterprise services content commands buses skills console versions directories knowledge control support compilation output running concise Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Apple Shulou Technology MySQL Microsoft