Yes, posted configuration is the same I've tested - using only default bus.
I did some debugging; the probem originates in RMFeature:initializeProvider
method.
bus.getExtension(RMManager.class) eventually invokes
org.apache.cxf.bus.spring.SpringBeanLocator:getBeansOfType(RMManager.class)
and the code in there creates two instances of the type:

Set<String> s = new
LinkedHashSet<String>(Arrays.asList(context.getBeanNamesForType(type,
                                                                                
           
false,
                                                                                
           
false)));
s.removeAll(passThroughs);
List<T> lst = new LinkedList<T>();
for (String n : s) {
    lst.add(type.cast(context.getBean(n, type))); // --> creates instance of
spring-configured RMManager
}
lst.addAll(orig.getBeansOfType(type)); // --> creates second instance with
default generator
if (lst.isEmpty()) {
    tryOSGI(lst, type);
}

the latter then replaces first one in bus extensions.




--
View this message in context: 
http://cxf.547215.n5.nabble.com/WSRM-changing-default-sequence-id-generator-tp5762033p5762131.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to