This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

When a connector is enabled in your ESB instance, you can access its functionality by adding a reference to it from your ESB configuration (such as in a sequence) and then calling its operations. To see the operations available in a connector, display your list of connectors (on the Main tab of the ESB Management Console, under Connectors click List), and then click the connector name.

For example, if the JIRA connector is enabled in your ESB instance and you want to use it in a sequence, you would add the following entry to your sequence configuration to connect to JIRA:

<jira.config>
     <username>myname@mycompany.com</username>
     <password>{wso2:vault-lookup('xxxx.email.login')}</password>
     <uri>https://xxx:xx/xx</uri>
</jira.config>

Then, if you want to get an issue, you can use the JIRA connector's getIssue operation and pass in the issue ID as follows:

<jira.getIssue [configKey="Ref Local Entry"]>
  <issueIdOrKey>ESBJAVA-2095</issueIdOrKey>
</jira.getIssue>

Using Cloud connectors

If you are using Developer Studio, you can import a Cloud connector into your ESB config project (right-click the project, choose Import Cloud Connector, and then navigate to the connector's ZIP file). The operations in the connector are then displayed in the graphical ESB editor, allowing you to drag them to your proxy service, sequence, or other configuration.

For details on using the operations in the default Cloud connectors, see ESB Connectors.

Examples

##NEED SEVERAL CONFIG EXAMPLES HERE

  • No labels