Skip to content

[APACHE CAMEL] [WILDFLY] [MICROPROFILE THORNTAIL] This is an example of microservices using Java.

Notifications You must be signed in to change notification settings

ricardohsmello/microprofile-thorntail

Repository files navigation

Issues Forks Stars Release Version

My Hello World from microservices

This is an example of microservices using Java.

This repository has a distributed architecture system using four services, where exists a service layer that invoke others two microservices, such spring boot and microprofile service. These microservices call backend api as you can see in image below:

Quick Start architecture for ricardohsmello/microservices

This repository includes four services

  • ricas-api-gateway
  • ricas-microservices
  • ricas-microprofile
  • ricas-backend

Built With

  • Spring boot
  • Wildfly
  • Apache Camel
  • Microprofile Thorntail

Usage

Navigate until ricas-backend root and run:

- mvn clean wildfly:run

Navigate until ricas-api-gateway and run:

- mvn spring-boot:run -Dserver.port=8380

Navigate until ricas-microservices and run:

- mvn clean spring-boot:run -Dserver.port=8180

Navigate until ricas-microprofile and run:

- mvn thorntail:run -Dswarm.network.socket-binding-groups.standard-sockets.port-offset=200
  • Note: the above command changes the default port of wildfly to not collide with backend wildfly 9090 port service

Running

Type the follow URL on browser

http://localhost:8380/api/gateway
  • Output ["Hello microservices Spring Boot application from the cluster backend at host: 192.168.68.2","Hello microprofile from the cluster backend at host: 192.168.68.2"]

About

[APACHE CAMEL] [WILDFLY] [MICROPROFILE THORNTAIL] This is an example of microservices using Java.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published