wso2 Carbon Studio:将班级调解员上载到ESB [英] wso2 carbon studio: uploading a class mediator to ESB

查看:91
本文介绍了wso2 Carbon Studio:将班级调解员上载到ESB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



我的月食中每次都有我的自定义介体项目作为JAR文件并将其放在 ESB\存储库\组件\库
中,但它不会每次都提交更改...



ESB似乎仍然使用我的自定义调解器的旧版本。



请建议



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

解决方案

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


  1. 创建中介项目

  2. 创建一个Carbon应用项目,并将调解人项目作为C-App工件包含在C-App项目中

  3. 导出C-App项目并获取CAR文件

  4. 将CAR文件部署在C-App部署文件夹(/存储库/部署/服务器/ carbonapps)中



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



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


    1. 将碳应用项目导出为CAR

    2. 将CAR放入/ repository / deployment / server / carbonapps

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



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



    Harshana


    what is the fastest way do deploy a class Mediator on ESB?

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

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

    Please suggest

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

    解决方案

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

    1. Create the mediator project
    2. Create a Carbon Application Project and include the mediator project in C-App project as a C-App artifact
    3. Export the C-App project and get the CAR file
    4. Deploy the CAR file in C-App deplopyment folder(/repository/deployment/server/carbonapps)

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

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

    1. Export "Carbon application project" as a CAR
    2. put the CAR in /repository/deployment/server/carbonapps

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

    ** 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

    Harshana

    这篇关于wso2 Carbon Studio:将班级调解员上载到ESB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆