You could use any kind of OSGi technology to publish the service: Spring DM, iPojo, Blueprint, ... all of them should work fine with ESB 4.2.0.
We usually recommend people to use Blueprint because it circumvents some common pitfalls with Spring DM but it is still very recognizable for people with a Spring background. We also use it internally to glue everything together.
What kind of problems were you experiencing with the Blueprint example you mentioned in your post? Just looked at the page and I didn't see anything problematic in there at first glance. Anyway, we want to get this example working (either by fixing the issue or fixing the docs)...
im using BND Tool it works fine
just export your project as jar and use the folowing command
java -jar bnd.jar wrap yourproject.jar
hope that helps
yes maybe you can do like you say... but that is not want i wanted. I want to use the way described in chap.8 with blueprints. But it doesn't work.
17:09:29,829 | ERROR | pool-2-thread-2 | BlueprintContainerImpl | container.BlueprintContainerImpl 337 | Unable to start blueprint container for bundle null
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0