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 #:
3 of 3
Last update:
‎10-27-2017 03:03 PM
Updated by:
Labels (1)