I think it should work that karaf then uses the newer CXF version together
with CXF-DOSGi.
Christian
2017-03-16 0:13 GMT+01:00 ivoleitao :
> Hi,
>
> I'm sorry I was not very clear in the question, I'm using CXF DOSGI which
> is currently bound to version 3.1.7 of CXF via repository declaration
Hi Mike,
I'm on it (sorry I'm in China this week and some different time zones).
I keep you posted asap.
Regards
JB
On 03/16/2017 01:27 AM, mtod09 wrote:
Did you get a chance to reproduce this issue?
Thanks
Mike
--
View this message in context:
http://karaf.922171.n3.nabble.com/decanter
Hi,
I'm sorry I was not very clear in the question, I'm using CXF DOSGI which
is currently bound to version 3.1.7 of CXF via repository declaration in
the latest DOSGi karaf feature (
http://repo.maven.apache.org/maven2/org/apache/cxf/dosgi/cxf-dosgi/2.1.0/cxf-dosgi-2.1.0-features.xml).
Also I'm b
Did you get a chance to reproduce this issue?
Thanks
Mike
--
View this message in context:
http://karaf.922171.n3.nabble.com/decanter-installation-issue-tp4049782p4049855.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Indeed you can not use @Inject in DS. Instead use @Reference and make
sure you export the class you want to inject using @Component.
Each dependency injection solution has a certain set of annotations with
slightly different abilities and limitations.
Christian
On 15.03.2017 16:46, erwan wrote
Ok thanks Christian.
I manage to make things work after moving cxf part from blueprint xml
description to component property elements.
For cxf, it seems to be really sensible to configuration as I wasn't able to
give a "/" as org.apache.cxf.servlet.context and neither was able to
configure "org.apa
You are right.
@Reference is only meaningful in an @Component. So this only works if
your class is instantiated by DS.
If you want to use DS then I strongly recommend to start with my
tutorial code:
https://github.com/cschneider/Karaf-Tutorial/tree/master/tasklist-ds
So at least you have a
I'm still working on a solution for my problem and for the moment Reference
injected doesn't seem to be filled.
I'm getting a NullPointerException every time I'm trying to access methods
on this @Reference.
What is difficult is that I found some key information in several sources.
For example, I fo