Apache Karaf与Servicemix [英] Apache Karaf vs. Servicemix

查看:166
本文介绍了Apache Karaf与Servicemix的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人用Karaf代替Servicemix吗?如果是这样,您是如何做出这个决定的?我知道Servicemix在Karaf周围增加了一层功能,只是很好奇Karaf是否被单独使用以及为什么...

Is anyone using Karaf instead of Servicemix? If so, how did you come to this decision? I'm aware that Servicemix adds a layer of functionality around Karaf, just curious if Karaf is being used on its own and why...

推荐答案

我们将Karaf用于许多应用程序.我们已经在使用Camel(JMS和Esper)在几个不同的平台(一个JBoss 4.2实例,一个Tomcat和几个Felix实例)之间进行集成,并且由于运行良好,因此也没有足够的理由进行迁移(这可能导致考虑使用ServiceMix.

We're using Karaf for a number of our applications. We were already using Camel (JMS and Esper) for integration between several different platforms (a JBoss 4.2 instance, a Tomcat and several Felix instances) and as this was working well there was little justification in migrating this too (which would have been cause to consider ServiceMix).

我们拥有一些Felix节点的唯一原因是,它们的使用受到限制(在客户端桌面上),很少需要/获取更新,我希望这些节点的占用空间最小.对于服务器端的任何OSGi,我们都使用Karaf.

The only reason we have some Felix nodes, is that they're limited in use (on client desktops), rarely need/get updated and I wanted the smallest footprint for these nodes. For anything OSGi on the serverside we're using Karaf.

Karaf提供了生产环境所需和需要的所有功能(请参见 apache-karaf标签的信息).我们根据标准的最小框架(使用pax-exam)进行开发和测试,但是将其部署到Karaf.

Karaf provides all of the features you'd expect and need for a production environment (see the apache-karaf tag's info). We do our development and testing against standard minimal framework (using pax-exam) but deploy to Karaf.

如果您不需要ESB,JCA,BPEL等,但想要一个坚固的,可调的OSGi容器,那么Karaf本身就绰绰有余了. (而且,如果您发现需要ServiceMix功能的有限子集,则可以始终将它们安装在Karaf实例中.)

If you don't need an ESB, JCA, BPEL, etc but want a solid, tunable OSGi container, then Karaf on it's own is more than adequate. (And if you found yourself needing a limited subset of ServiceMix's functionality you can always install these in a Karaf instance).

您还可以自定义Karaf发行版作为Maven构建的一部分-我个人希望将容器作为应用程序构建的一部分,因为我可以在最短的时间内从命令行检出,构建和运行整个设置.

You can also customise the Karaf distribution as part of a maven build - personally I like have the container as part of the application's build, as I can checkout, build and run the entire setup from the command line in minimal time.

最近有一个名为Karaf的集群子项目,名为HaberCast的地窖,我不确定这是否也适用于ServiceMix.

Recently there's a clustering subproject of Karaf called Cellar using HazelCast, I not sure if this applies to ServiceMix too.

这篇关于Apache Karaf与Servicemix的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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