This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Use Spring DM with Spring Integration

Jan 27th, 2009, 06:05 AM

Hi All!,

I'm testing SI during several months and I was wondering make it more dynamical. Right now I'm testing SpringDM (osgi) and I'm thinking about integrate it with my SI app. Is this approach possible? Does anyone test it?

The point is publish my SI app as a bundle and then install or uninstall custom components, not the native ones.

As I said, I'm only testing it and I'm not sure if it will work as expected.

That is absolutely possible. In fact, the idea of designing an application as a set of modules (bundles) fits very well with integration applications. There are a number of options when deciding what to expose as the OSGi 'services' ('references' on the other side). For example, the Spring Integration MessageChannel, as an abstraction itself, would provide very loose coupling between bundles.

Comment

That is absolutely possible. In fact, the idea of designing an application as a set of modules (bundles) fits very well with integration applications. There are a number of options when deciding what to expose as the OSGi 'services' ('references' on the other side). For example, the Spring Integration MessageChannel, as an abstraction itself, would provide very loose coupling between bundles.