Full Stack Software Development Blog
I am working on a proof of concept (POC) for embedding dependencies in a Spring Boot server.
The following is from the top of the readme in my github repository for the POC.
A Spring Boot project that connects to various resources (database, mongo, rest calls, JMS messaging, Rabbit messaging, legacy). Mock the connections for acceptance testing.
The flow is...
- Receive a Todo message
- Make a REST call (for no good reason)
- Persist the Todo in a relational database
The server is setup to
- Listen to the mailbox queue of an external JMS ActiveMQ server
- Makes a REST call to http://worldclockapi.com/api/json/utc/now
- Inserts into a Postgres database
When running tests the server uses
- An embedded ActiveMQ server
- Wiremock to mock the REST calls
- An embedded H2 in memory database
If this interests you then check out the entire readme in my github repository at
No comments:
Post a Comment