Tag Archives: servicemix

Integration Testing OSGi Bundles in Apache Karaf/ServiceMix with Pax Exam 3

This short post demonstrates a bare-bones configuration of Pax Exam 3 for testing an OSGi bundle deployed in ServiceMix 4.  Over the last couple years, Pax Exam and Apache Karaf introduced some fantastic features enabling the provisioning of a clean … Continue reading

Posted in Uncategorized | Tagged , , , , | 4 Comments

Intro to Camel By Example

I’ve been using and distributing a Apache Camel based example project as part of informal training and JUG talks for several years.  I wrote the example to demonstrate best practices for the use of Camel as well as the wonderful … Continue reading

Posted in Uncategorized | Tagged , , , , , | 1 Comment

Deploying Spring MVC Based Web Applications to OSGi Using Apache ServiceMix

The OSGi specification defines appropriate bundle manifest headers and mechanisms for the deployment of servlet-based WAR packaged applications into an OSGi container. As with most APIs, programming a modern application using the Servlet specification requires copious amounts of boilerplate code … Continue reading

Posted in Uncategorized | Tagged , , , | 40 Comments

Secrets of The Felix Bundle Plug-in Macros Revealed

I was recently dealing with some client concerns regarding package import scopes in their Maven-built artifact using the Felix Bundle Plug-in. The client was curious about strategies for dealing with package import version ranges as well as how to manage … Continue reading

Posted in Uncategorized | Tagged , , | 10 Comments

Combining Karaf Features, PAX URL, and Maven to deploy a plain JAR as an OSGi bundle

I recently found myself in the situation where I needed to provide an easy way for a client to install a set of OSGi bundles and their dependencies.  Karaf Features allow you to name a collection of bundles and other … Continue reading

Posted in Uncategorized | Tagged , , , | 5 Comments