I have application.yaml in springboot app as below
spring:
cloud:
gateway:
routes:
- id: pgService
uri: http://localhost:2005/
predicates:
- Path=/employee/**
- id: inMateService
uri: http://localhost:2006/
predicates:
- Path=/consumer/**
The above declared variables are with respect to spring cloud gateway
I want to declare these same variables in application.properties file. i don't want to use yaml file. please help me to achieve this Thank you