Since Karaf 2.2.7 integration with Camel and CXF has gotten much easier.
It is now not necessary anymore to change the jre.properties. Installing
CXF and Camel on Karaf 2.2.7 is as easy as:
- Unpack and start Karaf
> features:chooseurl cxf 2.6.1
> features:chooseurl camel 2.9.2
See: http://www.liquid-reality.de/x/BwBs
Then you are ready to install features from camel and cxf.
The advantage of the above aproach is that you can freely update to
newer camel and cxf versions at any time.
Be aware though that some combinations do not work well together.
So using servicemix instead is definately the easier option for
beginners. Servicemix is also the simpler choice if you want your distro
to be offline capable. The above aproach for installing CXF and Camel
requires a connection to the internet or an internal maven repo.
Btw. I just added a new command to the upcoming Karaf 3 that will make
it much easier to build your own offline distros. It creates a kar from
the command line.
So if you do this on a system with internet access it will create a kar
with the complete cxf bundles.
> kar:create cxf-2.6.1
You can then put this kar into the deploy folder of a karaf in the
intranet and have all of cxf available without internet connection. With
Karaf versions before 3 you need your own custom distro to achieve this.
Christian
Am 20.06.2012 04:34, schrieb Freeman Fang:
yeah, you can, especially for advanced users, as SMX4 is based on Karaf.
But SMX4 support camel/cxf/activemq out-of-box, with means fine-tuned
jre.properties/custom.properties, endorsed libs, camel related
examples , and the default shipped camel features.xml which bundle
version match with the underlying karaf.
Freeman
On 2012-6-20, at 上午10:20, James Carman wrote:
Some might argue that you really don't need SMX at all. Just use
Karaf and add in what you want.
On Tue, Jun 19, 2012 at 9:27 PM, Freeman Fang
<[email protected]> wrote:
Hi,
Yes in SMX4 you should use camel directly(SMX4 just play a role as
an OSGi
container) to substitute the legacy JBI BC/SE.
Freeman
On 2012-6-20, at 上午8:26, indpnc26 wrote:
As for CAMEL and ServiceMix, it is said that CAMEL is just one of the
components which ServiceMix uses and using CAMEL is the best option
for
service orchestration.
But, from my experiences, i could possibly minimize ServiceMix's
role as
just a container for CAMEL and replace ServiceMix BC/SE with CAMEL.
Is Using ServiceMix and CAMEL like said above desirable and advisable?
thank you in advance.
with kind regards
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Can-CAMEL-be-substitute-for-ServiceMix-BC-SE-tp5713751.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com