You can develop configurations with connectors, and deploy the configurations and connectors as composite application archive (CAR) files into WSO2 EI using WSO2 EI tooling.
You need to have WSO2 EI tooling installed to import a connector and create configurations using the connector operations via EI tooling. For instructions on installing WSO2 EI tooling, see Installing WSO2 EI Tooling.
Importing connectors
Follow the steps below to import connectors into WSO2 EI tooling:
- Right-click on the ESB Config project where you want to use the connector and click Add or Remove Connector.
- On the wizard that appears, select Add Connector and click Next.
- If you have already downloaded the connectors, select the Connector location option and browse to the connector file from the file system. Click Finish. The connector is imported into the workspace and available for use with all the projects in the workspace.
- If you have not downloaded any connectors, select the Connector Store location option to connect to the connector store from Developer Studio and import the required connectors into the workspace. Set
https://store.wso2.com:9448
as the connector store location and click Connect. Select the required connectors and click Finish.
- If you have already downloaded the connectors, select the Connector location option and browse to the connector file from the file system. Click Finish. The connector is imported into the workspace and available for use with all the projects in the workspace.
- After importing the connectors into Developer Studio, the connector operations are available in the tool palette. You can drag and drop connector operations into your sequences and proxy services.
For complete information on each of the predefined connectors, see EI connectors.
Creating a CAR file including connectors
Follow the steps below to create a composite application archive (CAR) file containing the connectors:
- Click File > New > Other and select Connector Exporter Project under WSO2 > Extensions > Project Types and click Next.
- Alternatively, open the Developer Studio Dashboard (click Developer Studio > Open Dashboard) and click Connector Exporter Project in the Integration area.
- Enter a project name and click Finish.
- Right-click on the created connector exporter project, point to New and then click Add/Remove Connectors.
Click Add Connector and then select Workspace. This will list down the connectors that have been imported into the EI Tooling environment workspace.
- Select the connector and click OK.
- Create a Composite Application (C-App) project including the required artifacts.
- Right-click on the C-App project and click Export Composite Application Project to create a CAR file out of that project.
For more information, see Packaging Artifacts into Composite Applications.
Removing connectors
Follow the steps below to remove connectors from WSO2 EI tooling:
- Right-click on the relevant ESB Config project and click Add or Remove Connector.
- On the wizard that appears, select Remove Connector and click Next.
- Select the connectors you want to remove and click Finish.