OSGI component not in Camel registry

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

OSGI component not in Camel registry

rajith
I have a bean marked as follows
@Component(immediate = true, service = AggregationStrategy.class, property
= "name=myAggStrategy")

Component is of type org.osgi.service.component.annotations.Component

When my camel context is loaded it complains that it cannot find "
myAggStrategy".
It seems like I'm either using the wrong annotation or missing a step.

Is there an example around this? Wondering what I'm missing.

Regards,

Rajith Muditha Attapattu <http://rajith.2rlabs.com/>