Closed davsclaus closed 10 years ago
@davsclaus CXF provides "cxf-jaxrs" feature to install the less than 10 bundles. We need to avoid using "cxf" which includes all the CXF related bundles if we know the exact type of service which CXF need to expose.
thanks for the heads up @WillemJiang, I just switched the fabric-cxf feature to use cxf-jaxrs so now I get this which is much more like it:
Fabric8:karaf@root> list -s | grep cxf
[ 127] [Active ] [Created ] [ 40] org.apache.cxf.cxf-api (2.7.11)
[ 128] [Active ] [Created ] [ 40] org.apache.cxf.cxf-rt-core (2.7.11)
[ 129] [Active ] [ ] [ 40] org.apache.cxf.cxf-rt-management (2.7.11)
[ 130] [Active ] [Created ] [ 40] org.apache.cxf.karaf.cxf-karaf-commands (2.7.11)
[ 133] [Active ] [Created ] [ 40] org.apache.cxf.cxf-rt-transports-http (2.7.11)
[ 135] [Active ] [ ] [ 40] org.apache.cxf.cxf-rt-bindings-xml (2.7.11)
[ 136] [Active ] [ ] [ 40] org.apache.cxf.cxf-rt-rs-extension-providers (2.7.11)
[ 137] [Active ] [ ] [ 40] org.apache.cxf.cxf-rt-rs-extension-search (2.7.11)
[ 138] [Active ] [Created ] [ 40] org.apache.cxf.cxf-rt-frontend-jaxrs (2.7.11)
[ 139] [Active ] [ ] [ 60] io.fabric8.fabric-cxf (1.1.0.SNAPSHOT)
[ 140] [Active ] [ ] [ 60] io.fabric8.fabric-cxf-registry (1.1.0.SNAPSHOT)
@davsclaus I guess the use of mbean names is maybe a CXF issue? Have a PR for the cxf jars coming soon...
CXF is used to exposes a new REST service. But we should try to reduce the number of CXF JARs installed out of the box, as its currently bloated with adding 80+ jars or thereabouts.
The list ends at
it use to be much much less - and there is bunch of other JARs added as well.
Frankly in 2014 it ought to be possible to uses a few JARs for REST with CXF.
Also there is a 2.6.2 JAR in there
Also I wonder if we could name CXF better in JMX instead of these UUID names that does not give an sense to end users what the *\ it is
Yes I dislike when frameworks does not expose human understandable information, if not then do NOT - Yes CXF I am looking at you! It should be possible, as eg the Karaf commands shows
But that bus id in the karaf shell is NOT the same as in JMX/MBean :(
2032402282 vs org.apache.cxf:bus.id=cxf1479277003,type=Bus,instance.id=1479277003