You can use the ESB tooling plug-in to develop develop configurations with connectors, and deploy these the configurations and connectors as composite application archive (CAR) files into WSO2 Enterprise Service Bus using WSO2 ESB tooling.
Tip |
---|
You need to have the WSO2 ESB tooling plug-in installed to create a new inbound endpoint or to import an existing inbound endpoint via ESB tooling. For instructions on installing the WSO2 ESB tooling plug-in, see Installing WSO2 ESB Tooling. |
Importing connectors
Follow the steps below to import connectors into the WSO2 ESB tooling plug-in:
- 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 ESB 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 ESB 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 ESB connectors.
Removing connectors
Follow the steps below to remove connectors from the from WSO2 ESB tooling plug-in:
- 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.
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 Enterprise Service Bus 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 File System and select the connector files (
.zip
) from the file system. Click Finish. Connector files downloaded from the connector store are stored in the$workspace/.metadata/.Connectors
folder.- 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.
...