I fail to correctly reference a service interface with the @Reference Annotation.
public class TestServiceProcessor implements Processor {
@Reference
private TestService testService;
The Service is up and running on the Karaf Instance and i can reference it with the blueprint file which does work fine.
<bean id="translateOIDs"
class="com.test.TestServiceProcessor">
<property name="TestService" ref="testservice" />
</bean>
<reference id="testservice"
interface="com.test.TestService"/>
The Service has been set up with the OSGI Component Annotations.
I already installed the scr feature and camel-scr on Karaf. I tried using the field strategy as well as the Event Strategy.
Do i need to further configure the Karaf Instance or am i using the @Reference Annotation in a wrong way?