Search code examples
apache-camelproduction-environment

Camel Deployment


I want to deploy an apache-camel application. After looking at various options available, decided to go with either

  • OSGi container (service mix)
  • Standalone

The service is used to read messages from a queue system(sqs) and update the data store(mysql) in near- real-time fashion.

What are the pros and cons of both method? What are the best practices to follow?


Solution

  • I suggest to run it as a standalone Spring application;

    OSGi will give you more pains than gains - too much complexity; or just use Apache Karaf if you really need OSGi application server; Server Mix is not evolving fast enough