Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.36 KB

File metadata and controls

49 lines (31 loc) · 1.36 KB

Spring Boot Widget Gadget Example

Introduction

This example demonstrates the widget and gadget example from EIP book, running on Spring Boot.

The example with a similar setup (e.g. without rabbitmq) can be found in this illustration here:

DistributionAggregate

Configuration

Before the application can run, rabbitmq must be started. This can be done with docker, executing the following command:

$ docker run -d -p 5672:5672 -p 15672:15672 --name my-rabbit rabbitmq:3-management

The port can be configured as desired, but do not forget to match the configured port number in your application.properties-file!

Build

After that, you can build this example using:

$ cd spring-boot-widget-gadget
$ mvn package

Run

You can run this example with Maven using:

$ mvn spring-boot:run

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!