Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 921 Bytes

README.adoc

File metadata and controls

35 lines (20 loc) · 921 Bytes

POJO Routing - Spring Boot example

Abstract

This example demonstrates how you can use POJO Routing with Camel’s @Consume and @Produce annotations on your Java beans.

Introduction

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 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!