<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.huihoo.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-cn">
		<id>http://wiki.huihoo.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Qqq777</id>
		<title>开放百科 - 灰狐 - 用户贡献 [zh-cn]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.huihoo.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Qqq777"/>
		<link rel="alternate" type="text/html" href="http://wiki.huihoo.com/wiki/%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/Qqq777"/>
		<updated>2026-04-03T21:14:41Z</updated>
		<subtitle>用户贡献</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://wiki.huihoo.com/wiki/Apache_ServiceMix</id>
		<title>Apache ServiceMix</title>
		<link rel="alternate" type="text/html" href="http://wiki.huihoo.com/wiki/Apache_ServiceMix"/>
				<updated>2008-05-29T05:30:22Z</updated>
		
		<summary type="html">&lt;p&gt;Qqq777：/* ServiceMix 4 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:apache-servicemix.png|right]]&lt;br /&gt;
ServiceMix是一个开源的 [[Enterprise Service Bus]] (ESB) 和 SOA 工具集, 支持 SUN JSP 208规范: Java Business Integration(JBI), 采用 Apache 许可协议.&lt;br /&gt;
[[Image:smarch.jpg|thumb|right|ServicesMix 总线结构]]&lt;br /&gt;
其JBI的核心总线结构支持插件操作。 &lt;br /&gt;
&lt;br /&gt;
==ServiceMix 4==&lt;br /&gt;
[[Image:ServiceMix4.png|right|thumb|ServiceMix 4]]&lt;br /&gt;
ServiceMix 4 Runtime 基于 [[OSGi]] 构建, 将使用 [[Apache Felix]] can download OSGi bundles dynamically from Maven repos  &lt;br /&gt;
&lt;br /&gt;
More detail: http://servicemix.apache.org/SMX4/&lt;br /&gt;
&lt;br /&gt;
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&lt;br /&gt;
&lt;br /&gt;
==ServiceMix 3==&lt;br /&gt;
[[Image:ServiceMix.png|thumb|right|ServicesMix 系统架构]]&lt;br /&gt;
==ServiceMix 2==&lt;br /&gt;
[[Image:servicemix-mc4jconnections.jpg|thumb|right|MC4J]] &lt;br /&gt;
==安装指南==&lt;br /&gt;
 获得 http://download.huihoo.com/apache/servicemix/&lt;br /&gt;
 如: tar zxvf servicemix-2.0.2.tar.gz &lt;br /&gt;
 &lt;br /&gt;
cd servicemix-2.0./bin&lt;br /&gt;
&lt;br /&gt;
启动 servicemix&lt;br /&gt;
&lt;br /&gt;
huihoo@debian:~/java/soa/servicemix-2.0.2/bin$ ./servicemix&lt;br /&gt;
&lt;br /&gt;
 ServiceMix ESB: 2.0.2&lt;br /&gt;
 Loading ServiceMix from servicemix.xml on the CLASSPATH&lt;br /&gt;
 04:04:29,647 INFO [JournalPersistenceAdapter] Opening journal.&lt;br /&gt;
 04:04:29,727 INFO [JournalPersistenceAdapter] Opened journal: Active Journal: using 2 x 20.0 Megs at: ../var/ journal&lt;br /&gt;
 04:04:29,727 INFO [JournalPersistenceAdapter] Journal Recovery Started.&lt;br /&gt;
 04:04:29,803 INFO [JournalPersistenceAdapter] Journal Recovered: 0 message(s) in transactions recovered. &lt;br /&gt;
&lt;br /&gt;
==测试==&lt;br /&gt;
huihoo@debian:~/java/soa/servicemix-2.0.2/examples/basic$ /home/huihoo/java/soa/servicemix-2.0.2/bin/servicemix servicemix.xml&lt;br /&gt;
&lt;br /&gt;
ServiceMix ESB: 2.0.2&lt;br /&gt;
 Loading ServiceMix from file: servicemix.xml&lt;br /&gt;
 13:24:50,580 INFO [JournalPersistenceAdapter] Opening journal.&lt;br /&gt;
 13:24:50,897 INFO [JournalPersistenceAdapter] Opened journal: Active Journal: using 2 x 20.0 Megs at: ../var/journal&lt;br /&gt;
 13:24:50,897 INFO [JournalPersistenceAdapter] Journal Recovery Started.&lt;br /&gt;
 13:24:50,984 INFO [JournalPersistenceAdapter] Journal Recovered: 0 message(s) in transactions recovered.&lt;br /&gt;
 13:24:51,228 INFO [JCAContainer] Jencks JCA Container (http://jencks.org/) has started running version: 1.1.1&lt;br /&gt;
 13:24:51,993 INFO [JCAConnector] Activating endpoint for activationSpec: ActiveMQActivationSpec{acknowledgeMode='Auto-acknowledge',&lt;br /&gt;
  destinationType='javax.jms.Topic', messageSelector='null', destination='demo.org.servicemix.source', clientId='null',  &lt;br /&gt;
 subscriptionName='null', subscriptionDurability='NonDurable'} using endpointFactory: &lt;br /&gt;
org.jencks.SingletonEndpointFactory@6798eb[transactionManager=&lt;br /&gt;
org.apache.geronimo.transaction.context.GeronimoTransactionManager@168989e]&lt;br /&gt;
 13:24:52,195 INFO [JCAConnector] Activating endpoint for activationSpec: ActiveMQActivationSpec{acknowledgeMode='Auto-acknowledge', &lt;br /&gt;
 destinationType='javax.jms.Topic', messageSelector='null', destination='demo.org.servicemix.result', clientId='null',   &lt;br /&gt;
 subscriptionName='null', subscriptionDurability='NonDurable'} using endpointFactory: &lt;br /&gt;
org.jencks.SingletonEndpointFactory@76f2e8[transactionManager=&lt;br /&gt;
org.apache.geronimo.transaction.context.GeronimoTransactionManager@168989e]&lt;br /&gt;
13:24:52,606 DEBUG [XAEndpoint] Transaction started and resource enlisted&lt;br /&gt;
13:24:52,697 DEBUG [XAEndpoint] Transaction committed&lt;br /&gt;
.......&lt;br /&gt;
测试报告&lt;br /&gt;
 huihoo@debian:~/java/soa/servicemix-2.0.2/examples/basic/target/test-reports$ ls&lt;br /&gt;
 more activemq-test.log&lt;br /&gt;
 2006-04-22 13:24:52,606 [Thread-14 ] DEBUG XAEndpoint - Transaction started and resource enlisted&lt;br /&gt;
 2006-04-22 13:24:52,697 [Thread-14 ] DEBUG XAEndpoint - Transaction committed&lt;br /&gt;
 2006-04-22 13:24:52,791 [Thread-19 ] DEBUG XAEndpoint - Transaction started and resource enlisted&lt;br /&gt;
 2006-04-22 13:24:52,847 [Thread-19 ] DEBUG XAEndpoint - Transaction committed&lt;br /&gt;
 ..... &lt;br /&gt;
&lt;br /&gt;
==相关链接==&lt;br /&gt;
*http://servicemix.apache.org//&lt;br /&gt;
*ServiceMix 初试 http://docs.huihoo.com/soa/servicemix/base.html &lt;br /&gt;
*http://download.huihoo.com/apache/servicemix/&lt;br /&gt;
*http://docs.huihoo.com/apache/servicemix/&lt;br /&gt;
&lt;br /&gt;
[[category:SOA]]&lt;/div&gt;</summary>
		<author><name>Qqq777</name></author>	</entry>

	</feed>