cfb.setJSR181Enabled(jsr181Enabled);
dataFormat = CxfEndpointUtils.getDataFormat(endpoint);
List<AbstractFeature> features = new ArrayList<AbstractFeature>();
if (dataFormat.equals(DataFormat.MESSAGE)) {
features.add(new MessageDataFormatFeature());
// features.add(new LoggingFeature());
}
if (dataFormat.equals(DataFormat.PAYLOAD)) {
features.add(new PayLoadDataFormatFeature());
// features.add(new LoggingFeature());