wso2 carbon studio:将类调解器上传到 ESB

2022-01-17 00:00:00 wso2 java esb wso2carbon wso2esb

在 ESB 上部署类 Mediator 的最快方法是什么?

我在 Eclipse 中有我的自定义中介,每次我将项目提取为 JAR 文件并将其放入ESBepositorycomponentslib"但它不会每次都提交更改...

I have my custom mediator in eclipse and every time I extract the project as a JAR file and put it in "ESBepositorycomponentslib" but it does not commit the changes every time...

看起来 ESB 仍在使用我的自定义中介的旧版本.

it looks like ESB still use an old verion of my custom mediator.

请推荐

编辑:还要部署最后一个版本,我需要删除dropins"文件夹中的所有文件

EDIT: also to have the last version deployed I need to delete all the files in the "dropins" folder

推荐答案

我建议的最快方法(使用 Developer Studio 2.0.1):

The fastest way I would suggest (With Developer Studio 2.0.1):

  1. 创建中介项目
  2. 创建一个 Carbon 应用程序项目并将中介项目作为 C-App 工件包含在 C-App 项目中
  3. 导出C-App项目并获取CAR文件
  4. 在 C-App 部署文件夹(/repository/deployment/server/carbonapps)中部署 CAR 文件

** 无需重新启动服务器或删除 components/lib 位置或 components/dropins 位置中的现有 Jars

** No need to restart the Server or delete existing Jars in the components/lib location or components/dropins location

我建议的最快方式(使用 Carbon Studio 1.0.14):

The fastest way I would suggest (With Carbon Studio 1.0.14):

  1. 将碳应用项目"导出为 CAR
  2. 将 CAR 放入/repository/deployment/server/carbonapps

** 无需重新启动服务器或删除 components/lib 位置或 components/dropins 位置中的现有 Jars

** No need to restart the Server or delete existing Jars in the components/lib location or components/dropins location

** 更新现有调解器时,将 C-App 部署位置中的现有 CAR 文件替换为新的 CAR 并重新启动服务器

** When you update the existing mediator, replace the existing CAR file in the C-App dpeloyment location with the new CAR and restart the server

哈莎娜

相关文章