The Micro Integrator profile of WSO2 EI is architectured to be container-friendly so that it allows you to perform advanced scenarios without sacrificing the speed required for a container-based architecture. Because its start-up time is faster than the ESB profile, Microservices are designed to start up very quickly, perform a specific task, and then shut down. Also, you can use the Micro Integrator prfile to orchestrate atomic microservices into composite microservices that address more complex, real-world scenarios.
For information on what the Micro Integrator Profile brings with this release, see About this Release.
Running the Micro Integrator profile
For instructions, see Starting the Micro Integrator profile.
Deploying artifacts in the Micro Integrator profile
After creating your artifacts in an ESB Solutions Project via WSO2 EI Tooling, import the project as a Composite Application, and add the CAR file to the
<EI_HOME>/wso2/microIntegrator/repository/deployment/server/carbonapps directory to deploy it.
Restart the Micro Integrator profile after deploying the artifacts.
Configuring the Micro Integrator profile
All configuration files related to the Micro Integrator profile are located ain the
<EI-HOME>/wso2/micro-integrator/conf directory. For more information, go to Directory Structure of WSO2 Products in the WSO2 Administration Guide.
Configuring the file-based registry
The H2 database-based registry is not available in the Micro Integrator profile. Instead, it has a file-system-based registry, which provides the same functionality. Thus, by default, the
<EI_HOME>/wso2/micro-integrator/registry directory will act as the registry to store registry artifacts etc. This main registry directory will consist of the following sub registry directories.
- Local: To store local artifacts of the product server that are not shared with the other products in the deployment.
- Config: To store all product-specific artifacts that are shared between similar product instances.
- Governance: To store all artifacts that re relevant to the governance of the product.
If you want to change the default locations of the Registry directories, uncomment and change the following configuration in the
<EI_HOME>/wso2/microIntegrator/repository/deployment/server/synapse-config/default/ directoryregistry.xml file.