Testing camel-scr with @References

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

Testing camel-scr with @References

Quinn Stevenson
I’ve created a project using camel-archetype-scr, and I’m trying to update the route to use an OSGi service.  

I have everything incorporated into the SCR Runner and the RouteBuilder, but I can’t figure out how to register a stub service so that the @References annotation will inject the service reference.

How can I do this?