daggerok / reactive-es-cqrs-jms-app

in progress: Reactive WebFlux EventSourced CQRS spring-integration-jms app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reactive jms es cqrs app

In progress: Reactive EventSourced CQRS JMS app

build, run, test

# run app
./mvnw spring-boot:run
# subscribe server side events
http --stream :8080/event-stream &
# send messages
http :8080 msg=hello
http :8080 msg=world

api

$ http :8080
HTTP/1.1 200 OK
Content-Length: 273
Content-Type: application/json;charset=UTF-8
{
    "_links": [
        {
            "href": "http://localhost:8080",
            "method": "*",
            "rel": "_self",
            "templated": false
        },
        {
            "href": "http://localhost:8080",
            "method": "POST",
            "rel": "send",
            "templated": false
        },
        {
            "href": "http://localhost:8080/event-stream",
            "method": "GET",
            "rel": "subscribe",
            "templated": false
        }
    ]
}

links:

About

in progress: Reactive WebFlux EventSourced CQRS spring-integration-jms app


Languages

Language:Kotlin 100.0%