- Spring AMQP Client
- RabbitTemplate
- SimpleMessageListenerContainer
- MessageListener
- Vaadin - #1 Java Web UI Framework for Business Applications
- Vaadin UI, Vaadin Navigation, Vaadin @Push (WebSocket)
- A single page web application, and purely in Java
- Spring Boot Application
- Spring REST
- Spring Test
- Spring Security
- Spring Data JPA
- Spring AMQP
- Spring Web
- H2 In-Memory Database
- Jayway JsonPath
You can find the complete Maven pom.xml.
This Demo App uses RabbitMQ as its Message Broker. You install RabbitMQ locally.
Please follow the instructions to download and install RabbitMQ locally before you can run this Demo App.
Downloading and Installing RabbitMQ
Set these values for RabbitMQ in 'application.properties' file only if they're different from the default values.
rabbitmq.host=localhost
rabbitmq.username=guest
rabbitmq.password=guest
You can get the Demo App source code here using the upper-right "Clone or download" button.
OR, use the command:
$ git clone https://github.com/MikeQin/spring-boot-vaadin-rabbitmq-pipeline-demo.git
Preferrable, you import the source code into your favorite IDE, such as Eclipse, or IntelliJ IDEA
You can run this Demo App:
mvn spring-boot:run
username: admin
password: admin
There are currently two Roles: 'ADMIN', 'USER'
USER longin: user / user
- 'USER' does not have privilege to call RESTful APIs, or view H2 Database console. See below for detail.
- 'ADMIN' role can perform all tasks.
When you login as 'ADMIN' using browser:
Returns all events.
Returns 'INFO' type events.
Event types: 'INFO', 'WARNING', 'ERROR'.
Returns current login.user
When you login as 'ADMIN' using browser:
Please note the following H2 configurations (also in application.properties)
spring.datasource.url=jdbc:h2:file:~/test;DB_CLOSE_ON_EXIT=FALSE
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.driverClassName=org.h2.Driver
To see all persisted events.