Questions tagged [spring-dm]

The Spring Dynamic Modules for OSGi(tm) Service Platforms project makes it easy to build Spring applications that run in an OSGi framework

Useful links

86 questions
0
votes
0 answers

How to use Spring-DM with Spring Boot

Could anyone guide how to use spring-DM with spring boot to develop micro-services? How it is helpful while developing micro-services?
sube singh
  • 125
  • 1
  • 7
0
votes
0 answers

Osgi is missing in eclipse

I am trying to create an Spring DM application following this tutoria. I installed the osgi-extender libraries and included them in the target file but when I try to run the application I get: org.eclipse.osgi plug-in is missing from this…
georgiana_e
  • 1,809
  • 10
  • 35
  • 54
0
votes
0 answers

Accessing OSGI service from Spring

I would like to access OSGI service from Spring bean without DM. Currently I have 2 bundles bundle A is just exposing service, and bundle B is a web application with JSF and Spring Security. The following is the project structure: -webapp …
st.
  • 166
  • 6
  • 24
0
votes
0 answers

Spring OSGi - unable to autowire the class from external OSGi jar in WAB bundle

I am developing an application using Spring OSGi and IBM WebSphere liberty. I have one WAB bundle which has all controller classes and have another bundle which has all utility/service/dto/model classes. I loaded the utility bundle to a shared…
0
votes
1 answer

Spring PropertiesFactoryBean wildcard expansion not working

I'm trying to use PropertiesFactoryBean to load all files ending with .propfrom certain directory.
karolkpl
  • 2,189
  • 10
  • 39
  • 60
0
votes
1 answer

SPRING-DM SUPPORTED IN jboss-fuse-6.2 ONWARDS?

We are using jboss fuse 6.1.0.redhat-379 and are planning to upgrade to 6.2.1.redhat-621166. But so far we have used spring-dm for all of the bundles. My question to the jboss fuse esb users is whether from 6.2 onwards, use of blueprint is mandatory…
0
votes
1 answer

Interrogate OSGi/Spring-DM Framework For A Bundle's Dependencies

I'm using Spring-DM in a Karaf (4.0.1) instance and am trying to start several Spring-DM enabled bundles (which I am not the author of). These bundles have several dependencies/service dependencies which would be injected by Spring-DM and I am…
D-Dᴙum
  • 7,689
  • 8
  • 58
  • 97
0
votes
1 answer

Spring DM (Dynamics Modules), OSGI and Greenpages application

The 'Greenpages app' is a sample web application available in Eclipse Virgo site that provides a example of using OSGI and Spring DM together and can be deployed in Virgo container. See: http://www.eclipse.org/virgo/samples/ . I was able to run the…
JohnMake0
  • 25
  • 4
0
votes
1 answer

How to launch Spring DM service consumer in OSGI

I started creating an OSGI project with Spring DM. I Created two bundles, the first one (bundle1) provides a service that changes the order of a recieved string. The seconde one (bundle2) consumes that service and prints the result in the console.…
user1828433
  • 252
  • 2
  • 11
0
votes
1 answer

ApacheCamel + ActiveMQ to JBOSS Fuse, what is the best approach?

I have ApacheCamel + ActiveMQ up and running at work with about 8 different routes. It started nicely when we had 2 routes. The number of routes is growing (currently 10) and the process of adding new route involves updating the existing routes…
zoro74
  • 171
  • 15
0
votes
1 answer

How to set OsgiBundleXmlApplicationContext as parent of WebApplicationContext

In my Camel (2.14.0) application I use Spring Web Services to trigger Camel routes. The artifact is built as an OSGi bundle and deployed in Karaf (3.0.2). For the first version I configured spring-ws to use the JVM internal web server through the…
Ralf
  • 6,735
  • 3
  • 16
  • 32
0
votes
1 answer

Create Spring context in OSGI through the API

To clarify my question further: I have a spring xml file with camel routes. I want to bootstrap this route in a BundleActivator. What are the steps in the OSGI world to initialize and start a SpringContext and register with OSGI registry. I want to…
0
votes
0 answers

Run time addition of Spring MVC controller to existing spring MVC container

I have a plugin kind of architecture and each plugins are webapps. 1. I wanted to develop each plugin as a spring MVC component(controller) 2. Then add them at run time while the spring container is still up and running. Also these components can…
shreyas K N
  • 155
  • 1
  • 3
  • 12
0
votes
2 answers

Difference between utilization of service and creating new object in OSGi

i am new to CQ5, when i am going through the OSGi concepts, i found some thing called services. I created a bundle which has an interface and implementation class for that, which overrides the method (simply returns a string "hello world").If i…
user2784095
  • 157
  • 1
  • 2
  • 12
0
votes
1 answer

Exported service not injecting in my bundle in Spring Dynamic Modules

I am using Spring Dynamic Modules for the first time. I have tried to expose a service (simple listofValuesDAO Bean) through a bundle and am trying to inject it in another bundle to use the bean. Below is configuration tag in osgi-context.xml of…
Atul Kumar
  • 75
  • 1
  • 13