Define property placeholder in the javax.xml.namespace.QName bean way should work.
You should use OSGi style property placeholder which we demostrated in camel-osgi example shipped with kit.
I tried the OSGI style property placeholder, but this does not resolve the original issue.
Putting #theService in the service field does not get resolved to the QName bean by that name. It is interpreted literally and an exception is thrown complaining that #theService is not a valid value for QName.
Another approach I tried was to create the CxfBcProviders in a java class and just create an instance of that class as a spring bean. However, an exception is thrown when it tries to activate a provider (see excerpt below).
Below is the code I am using to create each endpoint. Apparently I am missing some important piece(s). Is there a good example somewhere of how to do this?
CxfBcProvider provider = new CxfBcProvider();
Any help would be appreciated.
You're using JBI packaging or OSGi packaging?
Is it possible that you append a buildable testcase with spring QName bean injection?
I'll take a look when I get chance.