1 Star 0 Fork 1

zhouanan511/camel-spring-boot-examples2

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
README.adoc 905 Bytes
Copy Edit Raw Blame History

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!

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhouanan511/camel-spring-boot-examples2.git
git@gitee.com:zhouanan511/camel-spring-boot-examples2.git
zhouanan511
camel-spring-boot-examples2
camel-spring-boot-examples2
camel-3.4.x

Search