osgi / osgi.enroute.site

GitHub Pages repo for OSGi enRoute website
https://enroute.osgi.org/
Apache License 2.0
18 stars 54 forks source link

Small Document Inconsistency- Implementing the Chat API #85

Closed QNENet closed 8 years ago

QNENet commented 8 years ago

If we create a provider Bndtools project with the OSGi enRoute templates then we get the proper setup. It will creates a project with a Declarative Services component for us. To setup a provider project, make sure the name of the project ends with .provider. In our case we will use the name osgi.enroute.examples.chat.provider for the project. This gives us a bundle with a component like: package osgi.enroute.examples.chat.adapter; <<<<<<<<<<<<<<<<<< Should this be provider

import org.osgi.service.component.annotations.Component;

@Component(name = "osgi.enroute.examples.chat") public class ChatImpl { }

pkriens commented 8 years ago

Its a bug! adapter and provider are synonyms