Apache ServiceMix学习【环境搭建】1

一、 Apache ServiceMix简介

Apache ServiceMix是一个开源ESB组件,符合JBI规范。其特点是小巧灵活,可以很方便的集成到J2EE容器中,也可以单独作为一个服务器运行。

Apache ServiceMix项目主页: http://servicemix.apache.org/

 

下载地址:http://servicemix.apache.org/downloads.html

二、 Servicemix环境搭建

安装servicemix

1下载servicemix,目前最新的Apache ServiceMix 4.4.2 (zip)

下载地址:http://servicemix.apache.org/downloads.html

2解压到E盘根目录 E:\apache-servicemix-4.4.2

 

3进入bin目录执行servicemix.bat或者CMD下进入bin目录运行。

4Sericemixosgi结构的,
通过osgi:list 命令可以查看所有有效的osgi bundles
通过osgi:list | grep camel 命令 查看camel相关的
bundles
通过log:display命令 来显示日志

通过log:display-exception  显示最近的异常日志
通过log:set DEBUG  设置日志的级别
通过log:display | grep DEBUG 显示只是debug级别的日志

通过features:list 来查看所有的特性,并从而可以分析当前特性是否安装

若没有安装 可以通过 features:install来安装,比如:features:install webconsole

5 Webconsole
通过安装features:install webconsole后,可以通过访问http://localhost:8181/system/console
用户名:
smx
密码:
smx
当前webconsole karaf框架提供的一个web页面系统。

 

 

配置环境变量

SERVICEMIX_HOME

E:\apache-servicemix-4.4.2

path

;%SERVICEMIX_HOME%\bin

猜你喜欢

转载自justice-jl.iteye.com/blog/1763728