简体   繁体   English

如何使用wso2 esb连接器

[英]How to use the wso2 esb connector

I have a question regarding to how to use the wso2 esb connector. 我对如何使用wso2 esb连接器有疑问。 I have just followed these steps: http://docs.wso2.org/display/ESB480/Using+a+Connector to get more information. 我刚刚按照以下步骤操作: http : //docs.wso2.org/display/ESB480/Using+a+Connector以获取更多信息。 Then I checked out the sample connector from: https://github.com/wso2/esb-connectors/tree/master/distribution/foo-connector to build and try to run this sample. 然后,我从以下网址签出了示例连接器: https : //github.com/wso2/esb-connectors/tree/master/distribution/foo-connector以构建并尝试运行此示例。 After deploying successfully, I don't know how to use it. 成功部署后,我不知道如何使用它。 ESB. ESB。 I am using wso2 esb 4.8. 我正在使用wso2 esb 4.8。

Download the connector zip file from https://github.com/wso2/esb-connectors/tree/master/distribution https://github.com/wso2/esb-connectors/tree/master/distribution下载连接器zip文件

Add and enable connector as described in http://docs.wso2.org/display/ESB480/Managing+Connectors+in+Your+ESB+Instance 按照http://docs.wso2.org/display/ESB480/Managing+Connectors+in+Your+ESB+Instance中的说明添加和启用连接器

To add a connector: 要添加连接器:

On the Main tab in the ESB Management Console, under Connectors click Add. 在ESB管理控制台的“主要”选项卡上的“连接器”下,单击“添加”。 Click Browse, specify the ZIP file, and click Open. 单击浏览,指定ZIP文件,然后单击打开。 Click Upload. 点击上传。

The connector will now appear in the Connectors list and is ready to be enabled in your ESB instance. 现在,该连接器将出现在“连接器”列表中,并准备在您的ESB实例中启用。

To enable a connector: 要启用连接器:

On the Main tab in the ESB Management Console, under Connectors click List to view your uploaded connectors. 在ESB管理控制台的“主要”选项卡上的“连接器”下,单击“列表”以查看您上载的连接器。 Click Enable next to a connector you want to enable, and then confirm that you want to change its status. 单击要启用的连接器旁边的“启用”,然后确认要更改其状态。 Repeat this step for each connector you want to enable. 对要启用的每个连接器重复此步骤。

Use the connector as described in the doc (eg. Twitter Connector ) within your ESB configuration. 如ESB配置内的文档所述使用连接器(例如Twitter Connector )。

我认为缺少的步骤是添加代理以使用连接器,并访问该代理以调用连接器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM