galatea-associates / fuse-starter-java

Starter project for Galatea java projects
17 stars 73 forks source link

Switch Fuse to Spring Webflux #262

Open gala-dan opened 5 years ago

gala-dan commented 5 years ago

Issue Description

Incorporate Spring Webflux into FUSE. Should show example of a async endpoint as well as an an example of an async consumer.

The great thing is Webflux is transparent to the other side, so can have a reactive producer and Spring MVC consumer, and vice versa.

Design

See https://stackabuse.com/spring-reactor-tutorial/ for examples.

Documentation Changes

[Description of changes necessary to the Fuse documentation due to the changes in response to this issue. Should be complete before Review is approved]

Test Evidence

[include relevant tests and output. Should be complete before Review is approved]

Validation in Develop -- [Proof issue is resolved in Develop. Should be complete before Issue is closed]

GalateaEric commented 5 years ago

candidate use case: listen for missions created that match a certain criteria.

GalateaEric commented 5 years ago

Add copious documentation to ensure that we don't have blocking calls accidentally in our non-blocking lambdas.

mikegajda commented 4 years ago

Idea: as a part of this, show the Producer Consumer concept here as well. After completing this, look at #75.