Skip to content

shyam63/camel-aws-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Example

Introduction

This example shows how to work with the simple Camel application based on the Spring Boot.

The example generates messages using timer trigger, writes them to the standard output and the mock endpoint (for testing purposes).

This example exposes Jolokia API and Spring Boot actuators endpoints (like metrics) via the webmvc endpoint. We consider this as the best practice - Spring Boot applications with these API exposed can be easily monitored and managed by the 3rd parties tools.

We recommend to package your application as a fat WAR. Fat WARs can be executed just as regular fat jars, but you can also deploy them to the servlet containers like Tomcat. Fat WAR approach gives you the deployment flexibility, so we highly recommend it.

Build

You will need to compile this example first:

mvn install

Run

To run the example type

mvn spring-boot:run

You can also execute the fat WAR directly:

java -jar target/camel-example-spring-boot.war

You will see the message printed to the console every second.

To stop the example hit ctrl + c

Documentation

This example is documented at http://camel.apache.org/spring-boot-example.html

Forum, Help, etc

If you hit an problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html

Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!

The Camel riders!

About

An example showing how to work with Camel, AWS and Spring Boot

Resources

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors