Question

How to invoke an OSGi service from outside the AEM instance?

Answer

If the OSGi bundle contains a servlet, you can perform a GET or POST request. In addition, you can use the default Sling Post Servlet. For an example, see Using Sling Post Servlets to submit mobile data.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy