Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 905 Bytes

README.adoc

File metadata and controls

32 lines (19 loc) · 905 Bytes

Spring Boot Example with POJO Routing

Introduction

This example demonstrates how you can use POJO Royting with Camel’s @Consume and @Produce annotations on your Java beans. The example will generate a series of random numbers that is routed to either a low or high method call. The method then constructs a new message that is routed to another POJO that is hidden by an interface.

Build

You can build this example using:

$ mvn package

Run

You can run this example using:

$ mvn spring-boot:run

And you should see output in the console with high and low numbers. The example will self stop after one minute.

Help and contributions

If you hit any problem using Camel or have some feedback, then please let us know.

We also love contributors, so get involved :-)

The Camel riders!