Julio TobarWell , I just tried, but immediately inside the run() method of my Runnable, when I test the resolver I get an exception that says This makes sense to me -- I get the resolver from the request to my servlet. The servlet passes its resolver to my worker class (so far so good, it logs the a...
I'm not downloading from the response; I'm downloading from a separate URL. The flow is:user opens a page with a form from my AEM site, and POSTs the form to my servletservlet converts the form to PDF, sends it to docusign server-side, and gets back a DocuSign redirect URLservlet responds to the req...
I'm working on a solution that receives an HTTP request containing a URL to a file, which I want to download and store in the JCR.So, I have a servlet that receives the request. It spawns a thread so that I can do the download in the background, and then redirects to a confirmation page. This allows...
rmahendr Yes, I've read that article, and the service ranking info tells me how the framework selects one implementation out of many. What it does not address, and what I'm still seeking, is how to change the service ranking value via configuration rather than by changing an annotation in the Java c...
That sounds promising -- I looked at ReferenceCardinality but didn't look at ConfigurationPolicy. And, I was hoping to be able to make the service.ranking a property -- that would generate a Felix GUI for it -- but I've only done that on fields within a class, so I didn't think it could be done. Ca...
Jorg, thanks, that's interesting -- but in my case, at least for now, I only want a single implementation at a time. I now understand how the impl is selected -- service.ranking if it exists, or a filter, or if none specified, the oldest impl -- but I'm now trying to see how I can change the service...
Thanks, this looks like the right direction: on each implementation class, add@Property(name="service.ranking", intValue=<some integer>)However, to change the order, I need to change code, rebuild and redeploy. When I add the @Property on the class, I don't see this the service.ranking property in t...
I'm trying to understand how dependency injection works in OSGi (specifically Apache Felix as used in AEM). I have a servlet with an `@Reference` annotation on a field that references an interface -- in my case, it represents a secure document signing provider. I have an implementation class that im...