Re: aries-jax-rs-whiteboard with @JaxrsApplicationSelect works not with DS

2023-01-26 Thread Paul Spencer
Jaap, RestImpl - I do not use @JSONRequired - I would not expect this component to be activated if personService is not resolved. You can add and @Activate method to to confirm the resolution of personService MyApplicationImpl - I do not override getClasses() or getSingletons(). - My REST

RE: aries-jax-rs-whiteboard with @JaxrsApplicationSelect works not with DS

2023-01-26 Thread Jaap Gordijn
Hi Paul, I have put the Rest service in a separate bundle but that does not help. I created a simplified case: Component(service = RestImpl.class) @JaxrsResource @JaxrsApplicationSelect("(" + JaxrsWhiteboardConstants.JAX_RS_NAME + "=MyApplication)") @JSONRequired