Hi,
How do you get the service names in the Service Name* drop down. We have a java code developed by third party and I am trying to do this set up in my local. Please Advice. Thanks
Views
Replies
Total Likes
Hi @schallag,
Service Name shows com.adobe.aemfd.watchfolder.service.api.ContentProcessor implementation that are available on your instance. If this filed is empty, that means there are no available custom implementation or for some reason OSGi components that implements above interface are disabled.
I would suggest following activities:
If you would like to implement your own ContentProcessor please follow below steps:
<dependency> <groupId>com.adobe.aemfd</groupId> <artifactId>aemfd-client-sdk</artifactId> <version>6.0.640</version> <scope>provided</scope> </dependency>Adding above dependency is necessary because it provides com.adobe.aemfd.watchfolder.service.api.ContentProcessor interface.
package com.mysite.core; import com.adobe.aemfd.watchfolder.service.api.ContentProcessor; import com.adobe.aemfd.watchfolder.service.api.ProcessorContext; import org.osgi.service.component.annotations.Component; @Component( name = "Sample Content Processor Implementation", immediate = true, service = {ContentProcessor.class}, property = {"mykey=myvalue"} ) public class SampleContentProcessor implements ContentProcessor { @Override public void processInputs(ProcessorContext processorContext) throws Exception { // place for code that will do some processing } }You can also have a look into example described in Adobe documentation. The main difference between my example and the one from documentation is that I am using osgi annotation. But it will work the same.
Hi,
Thank You for the reply!!
I have imported the OSGI bundles, Two of them are not starting and throws below error:
com.adobe.fd.output.api,version=[5.11,6) -- Cannot be resolved
Please Advice.
Make sure you have AEM Forms Add-on installed correctly. Above package is exported by following bundle Adobe XFA Forms Bedrock Connector (com.adobe.livecycle.adobe-lc-forms-bedrock-connector).
Please check that you have above bundle in Active state. If not try to start it manually or reinstall AEM Forms Add-on package.
I went to tools, packages and added the AEM forms add on package. Is that right?
I tried by making com.adobe.livecycle.adobe-lc-forms-bedrock-connector active, reinstalled AEM forms add on package. I still get the error.