<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    吳密的博客

    每天進(jìn)步一點點
    posts - 12, comments - 1, trackbacks - 0, articles - 1

    serviceMiX入門一

    Posted on 2015-04-09 16:25 xiaolang 閱讀(6359) 評論(1)  編輯  收藏
    本章我們主要介紹下如何安裝serviceMiX,使用命令來查看osgi bundles、日志。

    1、下載
    serviceMiX5.4.0
    http://servicemix.apache.org/downloads.html
    到下載頁面選取:
    tar,gz  for Linux/Unix/MacOS X
    zip for windows

    如果僅僅是運行
    serviceMiX,你需要jre1.6.x 或者 jre1.7.x  serviceMiX5.4.0大概需要100M的空間
    如果你要開發(fā)自己的一些集成應(yīng)用和osgi bundles,你還需要安裝  jdk1.6.x 或者 jdk1.7.x  apache maven3.0.4 或者更高的版本


    2.解壓,指定<SERVICEMIX_HOME>.
    解壓,在環(huán)境變量中配置 <SERVICEMIX_HOME>.例如:C:\apache-servicemix

    3.啟動serviceMiX(windows)

    C:\Users\Administrator>cd c:\apache-servicemix\bin

    c:\apache-servicemix\bin>servicemix
    Please wait while Apache ServiceMix is starting...
     27% [===================>                                                    ]


    4.啟動成功

    Please wait while Apache ServiceMix is starting...
    100% [========================================================================]
     ____                  _          __  __ _
    / ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __
    \___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
     ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  <
    |____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\
      Apache ServiceMix (5.4.0)
    Hit '<tab>' for a list of available commands
    and '[cmd] --help' for help on a specific command.
    Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown ServiceMix.

    5. 
    使用命令 osgi:list  osgi:list|grep camel 查看bundles 

    karaf@root> osgi:list
    START LEVEL 100 , List Threshold: 50
       ID   State         Blueprint      Spring    Level  Name
    [  81] [Active     ] [            ] [       ] [   50] geronimo-annotation_1.0_spec (1.1.1)
    [  82] [Active     ] [            ] [       ] [   50] geronimo-jms_1.1_spec (1.1.1)
    [  83] [Active     ] [            ] [       ] [   50] geronimo-j2ee-management_1.1_spec (1.0.1)
    [  84] [Active     ] [            ] [       ] [   50] JAXB2 Basics - Runtime (0.6.4)
    [  85] [Active     ] [            ] [       ] [   50] Apache ServiceMix :: Bundles :: jaxb-impl (2.2.1.1_2)

    karaf@root> osgi:list|grep camel
    [ 116] [Active     ] [            ] [       ] [   50] camel-core (2.14.1)
    [ 117] [Active     ] [Created     ] [       ] [   50] camel-karaf-commands (2.14.1)
    [ 118] [Active     ] [            ] [       ] [   50] camel-jms (2.14.1)
    [ 124] [Active     ] [            ] [       ] [   50] camel-spring (2.14.1)
    [ 125] [Active     ] [Created     ] [       ] [   50] camel-blueprint (2.14.1)

    6.
    使用log:display查看日志,其他 log:display-exception

    karaf@root> log:display
    2015-04-09 16:09:07,433 | INFO  | 0 - timer://wumi | timerToLog  | ?                                   ? | 116 - org.apache.camel.camel-cor
    e - 2.14.1 | The message contains Hi from Camel at 2015-04-09 16:09:07

    Feedback

    # re: serviceMiX入門一  回復(fù)  更多評論   

    2015-04-30 16:49 by 佛山陶瓷品牌
    找了很久,感謝樓主分享

    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 亚欧日韩毛片在线看免费网站| 一级毛片完整版免费播放一区| 成人黄网站片免费视频| 亚洲中文字幕视频国产| 又硬又粗又长又爽免费看 | 成年女人毛片免费视频| 222www免费视频| 成人亚洲性情网站WWW在线观看| 黄页网址在线免费观看| 亚洲国产无套无码av电影| 男女猛烈xx00免费视频试看| 日本免费网站观看| 噜噜综合亚洲AV中文无码| 日韩在线免费电影| 久久精品国产亚洲av品善| 可以免费观看一级毛片黄a| 国产av无码专区亚洲av毛片搜| 国产网站免费观看| 免费国产高清毛不卡片基地 | 国产成人无码区免费A∨视频网站 国产成人涩涩涩视频在线观看免费 | 久久精品国产精品亚洲| 中文字幕免费观看全部电影| 亚洲AV无码久久精品成人| 免费一级特黄特色大片| 久久久久一级精品亚洲国产成人综合AV区 | 无码人妻一区二区三区免费手机| 亚洲色大成网站www永久男同| 四虎成人免费网站在线| jizz免费观看视频| 久久亚洲精品成人av无码网站| 在线观看成人免费| 国产福利电影一区二区三区,免费久久久久久久精 | 久久亚洲AV无码精品色午夜| 美女黄网站人色视频免费国产| 国产高清视频免费在线观看 | 在线免费观看中文字幕| 91免费国产视频| 亚洲一区二区三区乱码在线欧洲| 亚洲中久无码不卡永久在线观看| 91大神免费观看| 香港特级三A毛片免费观看|