Specifying a context environment when running a route as an ESB microservice


Assuming a route with several Context Environments (such as TEST, DEV, PROD), built as an ESB Microservice (Spring Boot), how do I run this ESB Microservice with a specific Context Environment?


Run the ESB Microservice jar with the following parameter:



For example:

java -jar mySpringBootRoute.jar --spring.config.name=contexts/TEST
Version history
Revision #:
6 of 6
Last update:
‎07-05-2019 03:57 AM
Updated by:
Labels (2)